Ninext
HomeAboutPricingDocumentation
Sign inRequest access
說明文件
  • 歡迎
    • Ninext 文件
    • 腳本技巧與訣竅
      • 一般說明
      • Var 與 Let
      • 函式
      • If Then else
      • for 與 while 迴圈
      • select、where、from、to
      • Order By(或 Order)
      • create、delete 與 duplicate
      • Ninox 中的 JSON
      • Ninox 中的陣列
      • Ninox 中未列入文件的函式
      • 在 Ninox 中操作記錄 ID
      • 動態選擇與動態多選
歡迎›腳本技巧與訣竅›

If Then else

if 陳述式可以回傳兩個不同的值。重點是這兩個值必須是相同型別,否則編譯器會回報錯誤:

if a > 10 then
    "important value";
else
    "low value";
end;
← 函式for 與 while 迴圈 →
UManGenius — the plugin that extends Ninox
AboutLegal noticeTerms of salePrivacy policy
© 2026 UManGenius. All rights reserved.v0.1.0 · 20260911.1721