Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Unlisted Commands
Index -> Programming, Turing -> Turing Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Yes?
(No ending time set)
Yes.
100%
 100%  [ 23 ]
Total Votes : 23

Author Message
Martin




PostPosted: Tue Apr 15, 2003 9:29 pm   Post subject: Unlisted Commands

Today, talking with Brewah, I found (well, he did actually), a command that's not listed in the turing help file - Pic.SetTransparentColour

Anyone know of any more of these?

(I've got 4.04c)
Sponsor
Sponsor
Sponsor
sponsor
Catalyst




PostPosted: Tue Apr 15, 2003 9:37 pm   Post subject: (No subject)

Window.SetTransparentColour
View.SetTransparentColour
Draw.ThickLine
Draw.DashedLine
etc...


just browse thru the predefs folder and ull find a bunch of them
Tony




PostPosted: Tue Apr 15, 2003 10:12 pm   Post subject: (No subject)

i've heard of a bunch of them. Damn holt cant even document its own functions Evil or Very Mad

here's something funny though. They got a full documentation on sprites and I think v4 even recognizes sprite.whatever as actual commands, yet doesnt support them.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Catalyst




PostPosted: Tue Apr 15, 2003 10:20 pm   Post subject: (No subject)

the other draw functions are documented in the GUI module but not in the Draw module, go figure...
Homer_simpson




PostPosted: Sat Apr 19, 2003 6:52 pm   Post subject: (No subject)

some of the commands that are listed wont work in my turing (i've gor 4.04 c) :GUI.Choose GUI.Alert GUI.Alret2 etc...
jamez




PostPosted: Sat Apr 19, 2003 7:41 pm   Post subject: (No subject)

These are unlisted commands (taken from the OOTURING forums and originally posted by Mike Smile):
code:

drawErrorBase   --     Have no idea
int4   --   Locates 4 Bytes for an integer
int8   --   Locates 8 Bytes for an integer
real4   --   Locates 4 Bytes for an real
real8   --   Locates 8 Bytes for an real
cdMaxNumColours   --   Maximum colour -> Red * Blue * Green * Colour = 1120. Also just used for Config

Pic.SetTransparentColour   --   Set transparency to a picture
eg;      Pic.SetTransparentColour (pidID:int, colour : int)


Draw.ThinkLine   --   Draws a thick Line
   Draw.ThickLine (x1, y1, x2, y2, thickness, color : int)

Draw.DashedLine   --   Draw a line in a certain style
   Draw.DashedLine (x1, y1, x2, y2, style, color : int)
   styles   drawSolid := 0
      drawDash := 1
      drawDot := 2
      drawDashDot := 3
      drawDashDotDot := 4

View.Scroll   --   Doesn't work yet =\


These are uncolored commands (in t4 and up) From the OOTURING forums originally posted by Mike:

code:
Concurrency.empty
Concurrency.getpriority
Concurrency.setpriority
Concurrency.simutime

ErrorNum
Exceptions

GUI.AddLine
GUI.AddText
GUI.Alert
GUI.Alert2
GUI.Alert3
GUI.AlertFull
GUI.Choose
GUI.ChooseFull
GUI.ClearText
GUI.CloseWindow
GUI.CreateButton
GUI.CreateButtonFull
GUI.CreateCanvas
GUI.CreateCanvasFull
GUI.CreateCheckBox
GUI.CreateCheckBoxFull
GUI.CreateFrame
GUI.CreateHorizontalScrollBar
GUI.CreateHorizontalScrollBarFull
GUI.CreateHorizontalSlider
GUI.CreateLabel
GUI.CreateLabelFull
GUI.CreateLabelledFrame
GUI.CreateLine
GUI.CreateMenu
GUI.CreateMenuItem
GUI.CreateMenuItemFull
GUI.CreatePicture
GUI.CreatePictureButton
GUI.CreatePictureButtonFull
GUI.CreatePictureRadioButton
GUI.CreatePictureRadioButtonFull
GUI.CreateRadioButton
GUI.CreateRadioButtonFull
GUI.CreateTextBox
GUI.CreateTextBoxFull
GUI.CreateTextField
GUI.CreateTextFieldFull
GUI.CreateVerticalScrollBar
GUI.CreateVerticalScrollBarFull
GUI.CreateVerticalSlider
GUI.Disable
GUI.Dispose
GUI.Enable
GUI.FontDraw
GUI.GetCheckBox
GUI.GetEventTime
GUI.GetEventWidgetID
GUI.GetEventWindow
GUI.GetHeight
GUI.GetMenuBarHeight
GUI.GetScrollBarWidth
GUI.GetSliderValue
GUI.GetText
GUI.GetVersion
GUI.GetWidth
GUI.GetX
GUI.GetY
GUI.Hide
GUI.HideMenuBar
GUI.OpenFile
GUI.OpenFileFull
GUI.ProcessEvent
GUI.Quit
GUI.Refresh
GUI.SaveFile
GUI.SaveFileFull
GUI.SelectRadio
GUI.SetActive
GUI.SetBackgroundColor
GUI.SetBackgroundColour
GUI.SetCheckBox
GUI.SetDefault
GUI.SetDisplayWhenCreated
GUI.SetKeyEventHandler
GUI.SetLabel
GUI.SetMouseEventHandler
GUI.SetNullEventHandler
GUI.SetPosition
GUI.SetPositionAndSize
GUI.SetScrollAmount
GUI.SetSelection
GUI.SetSize
GUI.SetSliderMinMax
GUI.SetSliderReverse
GUI.SetSliderSize
GUI.SetSliderValue
GUI.SetText
GUI.SetXOR
GUI.Show
GUI.ShowMenuBar
Input.getch
Input.getchar
Input.hasch

Keyboard <Maybe Make It some other colour as it is a reference>
Limits <Maybe Make It some other colour as it is a reference>
Math <Maybe Make It some other colour as it is a reference>
   
Mouse.ButtonWait
Pic.Flip
Pic.Mirror
RGB.maxcolor
RGB.maxcolour
Str <Maybe Make It some other colour as it is a reference>
Stream <Maybe Make It some other colour as it is a reference>
   
Stream.eof

System.FetchArg
Sys.GetComputerName
Sys.GetUserName
Text.maxcol
Text.maxrow

TypeConv <Maybe Make It some other colour as it is a reference>
   
View.maxcolor
View.maxcolour
View.maxx
View.maxy


Nice, here're some bits for your help
Display posts from previous:   
   Index -> Programming, Turing -> Turing Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: