Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 3 of 3
  1. #1
    Status
    Offline
    awarmanf's Avatar
    Member
    Join Date
    Apr 2008
    Posts
    222
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [HELP] set local variable di ROS 3.x

    Saya coba script sederhana di bawah ini semuanya tidak jalan di ROS 3.11 (RB439), ROS 3.19 (lisensi), ROS 3.22 (dpt dr sini Click here to enlarge )

    Code:
    :local l1 "this is local variable"
    :put $l1
    Script sederhana di atas dicuplik dr

    Yang terjadi jika baris terakhir dieksekusi adalah:

    Code:
    syntax error (line 1 column 7)
    Apakah ada cara lain pendefinisian local variable di script ROS 3.x ? Kalau pendefinisian global variables sama seperti versi 2.9.

    Mohon pencerahannya.

    Click here to enlarge

  2. #2
    Status
    Offline
    BatavianX's Avatar
    Member Senior
    Join Date
    Dec 2007
    Location
    x-Region
    Posts
    485
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    coba :local diganti jadi :global

    bandingin sama ini hasilnya:
    Code:
    {:local l2 "this is local variable"; :put $l2}

  3. The Following User Says Thank You to BatavianX For This Useful Post:


  4. #3
    Status
    Offline
    awarmanf's Avatar
    Member
    Join Date
    Apr 2008
    Posts
    222
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Oo harus dimasukkan di dalam "{" dan "}". Padahal sudah cari2 di forum mikrotik yg bhs inggriss not found found.

    Thread ini sampai di sini saja. Sudah selesai pemecahannya.

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. <ask>nat ip local
    By hikmah gumelar in forum Beginner Basics
    Replies: 2
    Last Post: 19-03-2008, 00:37
  2. nge NAT local ke public
    By alfin in forum General Networking
    Replies: 5
    Last Post: 02-12-2007, 21:13
  3. Konsep Local IX
    By servas in forum General Networking
    Replies: 6
    Last Post: 11-11-2007, 07:22
  4. Bagaimana Set Trafic Local
    By milocrew in forum Beginner Basics
    Replies: 2
    Last Post: 19-09-2007, 07:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •