Restore command label?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by cor.

Is it possible to change the T1 (Restore) label programmatically?
e.g.

s=1
Restore Ts
s=2
Restore Ts

Code: Select all

 
Dim name.s(5)
;
;
Restore T1
For k = 1 To 3
Read tmp.s
name(k)=tmp
Next k
;
;
MessageRequester("",name(1)+" "+name(2)+" "+name(3),0)
;
End
;
DataSection
T1:
Data.s "T12","T12","T13"
T2:
Data.s "T21","T22","T23"
;
EndDataSection
Using Windows 98 SE
Registered PB version : 3.2 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com