13.07.2015 Views

Turbo Basic

Turbo Basic

Turbo Basic

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VARPTR$ functionFunctionSyntaxRemarksSee AlsoExampleVARPTR$ returns a pointer to a variable in string form.s$ = VARPTR$(variab7e)variable is any numeric or string variable or element of an array.VARPfR$ returns a pointer to a variable in string form, and isused primarily in the PLAY and DRAW statements to include variablenames within command strings.DRAWPLAYVARSEGI switch into medium resolution graphics modeSCREEN 1House$ = "U20 G5 E20 F20 H5 020 L30"DRAW House$DRAW "BE3"DRAW "Pl,3"FOR 1% = 1 TO 280 STEP 40DRAW "M = " + VARPTR$(I%) + ",40"DRAW House$NEXT 1%END I end the program<strong>Turbo</strong> <strong>Basic</strong> Reference Directory 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!