this is what i mean:
Code:
... IF Chekkit=4 THEN [b]Char$ = CHR$(Gchr)[/b] FOR Kount=1 to Gnum PRINT [b]Char$;[/b] NEXT Kount ...
Davide Vecchi
[email protected]
... IF Chekkit=4 THEN [b]Char$ = CHR$(Gchr)[/b] FOR Kount=1 to Gnum PRINT [b]Char$;[/b] NEXT Kount ...
FUNCTION QVC (BYVAL Gnum AS LONG, BYVAL Gchr AS LONG, BYVAL Gprn AS LONG) AS STRING Chekkit=0 IF Gnum>=1 THEN Chekkit=2 IF Gchr>255 THEN Chekkit=1 IF Gchr>=32 THEN Chekkit=Chekkit+2 IF Chekkit=4 THEN FOR Kount=1 to Gnum PRINT CHR$(Gchr); NEXT Kount ' a given character (Gchr) is printed a given number (Gnum) of times IF Gprn=1 THEN PRINT:' only if no more text is printed on the same line ELSEIF Chekkit<>4 THEN Color 15: PRINT "QVC received invalid data" END IF END FUNCTION
FUNCTION AT0 (BYVAL row AS LONG, BYVAL col AS LONG) AS STRING LOCATE row, col, 0:' cursor invisible END FUNCTION
FUNCTION QVC (BYVAL Gnum AS LONG, BYVAL Gchr AS LONG) AS STRING ? String$(Gnum, Gchr); ' print a given string character (Gchr) a specified number (Gnum) of times END FUNCTION
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: