A downloadable project for Windows, macOS, Linux, and Android

RECOMENDED FOR WINDOWS 

Note: When downloading template1.tch you need the P# IDE (P#.exe) with it.

My YouTube Channel

Commands (so far):

{ ... } (Script Wrapper)

  • local.echo print.line("Text"); (Terminal Output)

  • local.echo print.line("varName"); (Variable Terminal Output)

  • local.echo msg.box("Title", "Message"); (Alert Box)

  • local.echo varName = "Value"; (String Variable Definition)

  • local.echo varName = math.rand(min.max); (Random Integer Generation)

  • local.echo varName = math.clus(min.max); (Random Decimal Generation)

  • [varName] (Variable Injection/Call)

  • (while/).condition do | ... (\end) | (Loop Block)

  • (if/).condition do | ... (\end) | (Conditional Block)

  • local.echo def.public(class=screen).X.Y.W.H; (Window Definition)

  • on(title = "Name" build.class): (Window Title)

  • on(screen.color = "R.G.B" build.class): (Window Background Color)

  • local.echo def.public(class=screen.true,on end); (Close Screen Block)

    local.echo def.public(class=text).X.Y.W.H; (Text GUI Definition)

  • on(text = "Content" build.class): (Display Text Content)

  • on(text.color = "R.G.B" build.class): (Text Color)

  • local.echo def.public(class=text.true,on end); (Close Text Block)

  • local.echo def.public(class=button).X.Y.W.H; (Button Definition)

  • on(button = "Label" build.class): (Button Label)

  • on(button.color = "R.G.B" build.class): (Button Background Color)

  • on(button.font = "Size" build.class): (Button Font Size)

  • on(button = left.click.key, code...); (Click Logic)

  • local.echo def.public(class=button.true,on end); (Close Button Block)

  • run,on.terminate.public(class=terminate.program); (Kill P# Code/Clear GUI)

  • # Text (comments)

  • Download

    Download
    P#.exe 10 MB
    Download
    template1.tch 2.6 kB