17.01.2013 Views

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Word and List Processing:<br />

(N ote that prompts? and> are shown in the following examples)<br />

ascii<br />

Outputs the ASCII value of the first character in the input word.<br />

bf<br />

?asc;; "G<br />

71<br />

?asc;; "g<br />

1133<br />

(but first) Outputs all but the first elem<strong>en</strong>t in the input object.<br />

bl<br />

?bf "srn; les<br />

m; le s<br />

?bf [1 2 3]<br />

[2 3]<br />

(but last) Outputs all but the last elem<strong>en</strong>t in the input object.<br />

char<br />

?bl "srn; les<br />

srn; le<br />

?bl [1 2 3 4]<br />

[1 2 3]<br />

Outputs the character whose ASCII value is the input number.<br />

?char 83<br />

S<br />

Chapter 6 Page B Introduction to Logo

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

Saved successfully!

Ooh no, something went wrong!