Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Eager Newsgroups: comp.misc Subject: Re: BASIC is 50 Date: 1 May 2014 21:35:12 GMT Lines: 31 Message-ID: References: <5360da8d$0$17144$c3e8da3$dd9697d2@news.astraweb.com> <83eh0dudna.fsf@example.com> <5362210a$0$61376$c3e8da3$5e5e430d@news.astraweb.com> <87eh0d4nt5.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 7M713EueBFcS6+lE8Kf3+Alb8L3ZCx0HVCifMh7x8zR4MI52F0 Cancel-Lock: sha1:ux9vbSO2cpd0lXygiVGxkEVEheo= User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: csiph.com comp.misc:2587 On Thu, 01 May 2014 16:43:18 +0300, Marko Rauhamaa wrote: > Rich : > >>> > 10 LET X=100 20 PRINT $X >> >>> What's that $ sign doing there? I thought it was a mistake but no one >>> else mentioned it. >> >> It's probably a mistake. It has been 25+ years since I last wrote a >> line of basic, the $ is likely my Perl, Tcl, and Bash/sh experience >> leaking over. > > Well, Basic had: > > X% (integer) > X! (float) > X (float as well) > X# (double) > X$ (string) > > That probably leaked over to Perl. Kemeny and Kurtz BASIC didn't. -- Using UNIX since v6 (1975)... Use the BIG mirror service in the UK: http://www.mirrorservice.org