huiyuanlin
V2EX  ›  问与答

LUA 定义多行字符,除了用[[ ]]连接外,还可以用哪几种方法?

  •  
  •   huiyuanlin · Apr 15, 2016 · 6025 views
    This topic created in 3857 days ago, the information mentioned may be changed or developed.
    3 replies  •  2016-04-15 23:17:46 +08:00
    DarryO
    DarryO
    Apr 15, 2016 via iPhone❤️1
    1
    这样?
    [==[
    str
    ]==]
    huiyuanlin
    huiyuanlin
    OP
    Apr 15, 2016
    2
    就是这样,谢啦
    Mutoo
    Mutoo
    Apr 15, 2016❤️1
    3
    [ 中间可放任意个=号 [
    多行文字
    ] 结束时使用相同数量的=号 ]
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1851 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 06:56 · PVG 14:56 · LAX 22:56 · JFK 01:56
    ♥ Do have faith in what you're doing.