Announcement

Collapse
No announcement yet.

About Loop ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • About Loop ?

    This is my program code

    #Run(Picaso,COM3,9600,5,Wrap)#include "4DScript_16bitColours.inc" $openinitclear SetBaud(9600)InituSDStatus UsdImage(0,0,320,240,16,0x000)delay(7000) UsdImage(0,0,320,240,16,0x012D)delay(7000) UsdImage(0,0,320,240,16,0x025A)delay(7000) UsdImage(0,0,320,240,16,0x0387)delay(7000)

    when it run to last image i want it run repeat in the first image again as automately ,, so i would like to know how to write the order and program ??

  • #2


    The ABC.4DScript and ABC400.4DSCRIPT have goto and label examples

    Here's a small excerpt

    label1:
    Delay(5000)
    AsciiChar('B', 1, 0, $0700)
    goto label2
    Mark

    Comment


    • #3


      repeat
      ....(things to repeat)forever
      _______________
      Best Regards,
      Howard

      Comment


      • #4


        4DSysFan, he's using the SGC scripting language, not 4DGL
        Mark

        Comment


        • #5


          oops, sorry, I saw 4DGL in the forum title......
          _______________
          Best Regards,
          Howard

          Comment

          Working...
          X