bhdocs
  • 🙂#BeHappy
  • Guides
    • Creating your first project
  • Primary
    • Commands
      • set
      • msg
      • system
      • ums
        • CF
        • PS
        • CS
      • var
      • ankita
      • version
      • show
      • printdbg
      • app
      • com
  • ☢️Errors
    • ErrorPath
      • Program - 0
        • 0
      • Parser - 1
        • 0 - Spilled out obscure object
        • 1 - Invalid syntax!
        • 2 - Varriable not found.
        • 3 - ConKey not found
        • 4 - Content start key not found.
        • 5 - Lang not found
        • 6 - End key not found
        • 7 - Encoding is not found
        • 8 - Ankita keyword is not found
        • 9 - Ankita value is not found
        • 10 - The as suffix was removed
        • 11 - Invalid key!
        • 12 - Signed Value not found!
        • 13 - Signed Values not found!
      • ErrorHandle - 2
        • 0 - An error occurred in the error printing.
  • Extras
    • Command Rules
    • Argumants
    • Element Types
      • window
    • System KeyWords
      • OutputEncoding
      • Title
  • About-Us
    • Members
Powered by GitBook
On this page
  • The basics
  • Example
  1. Primary
  2. Commands

set

Creating element to heap.

Good to know: This command is first command of BH. 😄

Also: In 'window' type, Title's defualt value is NoThing but why?

The basics

The ones between '<' and '>' are changed by the user.

set $<ElementName> (<Type>):
"<AttributeName>": "<AttributeValue>"
;

Types: https://groophy.gitbook.io/bhdocs/extras/element_types

Example

set $windowName (window):
"title": "$name",
"size": "1000x800",
"initscript": "echo Hello"
;
//Coded with BH Beta 0.1.0
PreviousCommandsNextmsg

Last updated 2 years ago