# Variables

# Type

Keyword Explanation Examples
number type, which can be a floating point or an integer type 三千二百零一二〇二〇
string type, which can be an empty string 「「君子好逑」」,『予观夫巴陵胜状』
boolean type is a boolean type with only two values ,
array type is an array type ...
object type, defines the object ...
auto type, you can reverse the type ...

# Expressions that declare variables

吾有[N][type][value1][value2]...[valueN]名之曰[name1][name2]....[nameN]

# Common Example

  1. 數 言 爻
    • 今/吾有一數/言/爻,曰三/「「问天地好在」」/陰,名之曰「甲」
    • 吾有三數。曰一。曰三。曰五。名之曰「甲」曰「乙」曰「丙」。
    • 今/吾有一元,曰三/「「问天地好在」」/陰,名之曰「甲」
    • 今/吾有一列,曰「甲」。充「甲」以四。以二。
    • 今/吾有一物。名之曰「甲」。其物如是。物之「「乙」」者。數曰三。物之「「丙」」者。言曰「「丁」」。是謂「甲」之物也

💡 is compiled to var name = this.name = value in Javascript

# Simplified writing

[type][value]名之曰[name]

名之曰「大衍」

# Reassign

昔之[before],[after]是/矣

Output:

before = after

💡 is generally used as the end mark of若非 and 若...者', if you do not end the code block, use

# Others

You can use other variables during initialization, such as

吾有「甲」名之曰「乙」

Output:

var=;