Welcome! Log In Create A New Profile

Advanced

Input parameter block

Posted by ShaunGVW 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Input parameter block
November 04, 2007 09:02AM
Can someone help me on this...?
Reading in some characters, is the following correct, specifically the "inbuf" line. If I want to read in 3 chars, I have to use db 4, one to accomodate the "enter" key being pressed, which is also a character?

inbuf: db 4 ;3 chars + "enter" key
strlen: db 0 ;length of string
instr: times 3 db ' '
Anonymous User
Re: Input parameter block
November 05, 2007 12:31PM
have you tested this code block in a little program? If you wrote a little proggy, you could trace through it with debug.
Sorry, only registered users may post in this forum.

Click here to login