
-----------------------------------
greenapplesodaex
Tue Apr 06, 2004 6:36 pm

does turing 4 has the &quot;show var&quot; like turing 3 doe
-----------------------------------
does turing 4 has the "show var" like turing 3 does?
if it does, how do i open that window?
thanx!

-----------------------------------
Tony
Tue Apr 06, 2004 6:53 pm


-----------------------------------
yes

...
locate(1,1)
put varName
delay(500
...

 :lol:

-----------------------------------
the_short1
Tue Apr 06, 2004 7:58 pm


-----------------------------------
tony i dont think that matches the question..... do u mean show the variable's type??

-----------------------------------
greenapplesodaex
Tue Apr 06, 2004 8:09 pm

reply
-----------------------------------
um... no, remember in turing 3, there's a button that says "show var", if you click it, a little window pops up and it shows all the var and all their values. easy for debuging. how do i get that out in turing 4?

-----------------------------------
Tony
Tue Apr 06, 2004 8:22 pm


-----------------------------------
you don't - no such thing (in v4... well... not yet)

put "this is my program"
var name:string := "tony"
var num:int := 10

var winID:int := Window.Open("title:show vars")
put "some more of my program"
Window.SetActive(winID)
locate(1,1)
put "name:", name
put "num:", num

Window.SetActive(0)
put "the end"


-----------------------------------
greenapplesodaex
Wed Apr 07, 2004 1:38 pm

reply
-----------------------------------
well, that works, too, thanx
but then you'd have to fork it so that it becomes "real-time"
and when you trace your program, it's gonna be trouble, lol

-----------------------------------
the_short1
Wed Apr 07, 2004 3:05 pm


-----------------------------------
yea... i only used a version under 4 once or twice... and said !"THIS SUCKS"! and i pity the ppl who had to use it.... i just gave up and got the good one from school...
.
that would be wicked... like lets say... press CTRL+V (only u woud know this) and then it would pop up a window with all your variables..... too bad it would take so much typing to make it tony's way....

HINT: dont mention forking soemthing around him... he gets all touchy feely and starts to cry... :P :lol: jk.... he'll prob suggest something other then a fork cuz he hates them with a passion  :twisted: .. right tony???

-----------------------------------
greenapplesodaex
Wed Apr 07, 2004 3:57 pm

reply
-----------------------------------
awww this sucks, think they ever add that thing in turing 4? maybe later on?

-----------------------------------
the_short1
Wed Apr 07, 2004 4:57 pm


-----------------------------------
i sure hope tho... thats a WICKED FEATURE... maybe make a program in turing that reads your file and opens a new turing window...and shows contents of all variables...

like...

search 'urprogram.y' for all cont, var, etc... then find all values.... would be lots of if statements... i thinkl... but cool.... maybe try emailing tom west or w/e at http://www.holtsoft.com ??

-----------------------------------
Tony
Wed Apr 07, 2004 6:51 pm


-----------------------------------
what if statements? :lol:

a while ago I wrote a part of script interpriter (was suppost to handle animations and dialogs for an RPG). The point it - you could have decleared variables inside the .txt script and refer to them later on and .exe interpreter handeled everything perfectly. I even had if statements going there :wink:

-----------------------------------
the_short1
Thu Apr 08, 2004 10:30 pm


-----------------------------------
you should popst it here then... now im interested..... also...
i guess i wouldn't take much.... if you output all variables that are in your program into a text file... then later u can just put all the entries from that file.... hmm... i dont use read write to files to much... dont exactly know all of it yet... (wazn;t payiong attension...)

-----------------------------------
Tony
Fri Apr 09, 2004 12:06 am


-----------------------------------
you should popst it here then...

eh... was one of those work-in-progress things that never got to any sord of finish :? I might consider taking some bits of code from that and writing something up though later on
