🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.authorware
Article #19

pointers to Variables

#19
From: Jason Luros
Date: Thu, 21 Oct 1999 00:00
23 lines
1247 bytes
Does AW5 support variable pointers? What I would like to do is have
pointers to list locations.

Lets say you have a list of scores like
QuizScores:=Array(0,0,1)
QuizScores[1]:=80
QuizScores[2]:=60
QuizScores[3]:=75
etc...
I want to be able to say MostRecentScore:=QuizScores[ListCount
(QuizScores)] to always address the last position in the list.
It doesn't have to be that complicated. The sort of functionality that
I am looking for would support
A=5
B=A (perpetually)
Display B: {B} would show 5.
A=7
Display B: {B} would show 7.

Is this possible?

Jason
jluros@computrition.com
Technical Details
Message-ID: <nhLP3.65$8u.9937@typhoon-la.pbi.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f49cb,b01625bf8b7357ef,start
X-Google-Attributes: gidf49cb,public
From: "Jason Luros" <jluros@pacbell.net>
Subject: pointers to Variables
Date: 1999/10/21
Message-ID: <nhLP3.65$8u.9937@typhoon-la.pbi.net>
X-Deja-AN: 539004605
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@pacbell.net
X-Trace: typhoon-la.pbi.net 940540115 206.170.225.147 (Thu, 21 Oct 1999 14:08:35 PDT)
Organization: SBC Internet Services
X-MSMail-Priority: Normal
NNTP-Posting-Date: Thu, 21 Oct 1999 14:08:35 PDT
Newsgroups: bit.listserv.authorware