Author |
Message |
greenapplesodaex
![](http://img.photobucket.com/albums/v235/greenapplesodaex/big.jpg)
|
Posted: Tue Apr 06, 2004 6:36 pm Post subject: does turing 4 has the "show var" 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! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
the_short1
|
Posted: Tue Apr 06, 2004 7:58 pm Post subject: (No subject) |
|
|
tony i dont think that matches the question..... do u mean show the variable's type?? |
|
|
|
|
![](images/spacer.gif) |
greenapplesodaex
![](http://img.photobucket.com/albums/v235/greenapplesodaex/big.jpg)
|
Posted: Tue Apr 06, 2004 8:09 pm Post subject: 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? |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Tue Apr 06, 2004 8:22 pm Post subject: (No subject) |
|
|
you don't - no such thing (in v4... well... not yet)
code: |
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"
|
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
greenapplesodaex
![](http://img.photobucket.com/albums/v235/greenapplesodaex/big.jpg)
|
Posted: Wed Apr 07, 2004 1:38 pm Post subject: 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 |
|
|
|
|
![](images/spacer.gif) |
the_short1
|
Posted: Wed Apr 07, 2004 3:05 pm Post subject: (No subject) |
|
|
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... jk.... he'll prob suggest something other then a fork cuz he hates them with a passion .. right tony??? |
|
|
|
|
![](images/spacer.gif) |
greenapplesodaex
![](http://img.photobucket.com/albums/v235/greenapplesodaex/big.jpg)
|
Posted: Wed Apr 07, 2004 3:57 pm Post subject: reply |
|
|
awww this sucks, think they ever add that thing in turing 4? maybe later on? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
the_short1
|
Posted: Wed Apr 07, 2004 4:57 pm Post subject: (No subject) |
|
|
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 ?? |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Wed Apr 07, 2004 6:51 pm Post subject: (No subject) |
|
|
what if statements?
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 Wink](images/smiles/icon_wink.gif) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
the_short1
|
Posted: Thu Apr 08, 2004 10:30 pm Post subject: (No subject) |
|
|
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...) |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Fri Apr 09, 2004 12:06 am Post subject: (No subject) |
|
|
the_short1 wrote: 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 |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|