Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Sending commented softcode @@-style has a small problem

Sending commented softcode @@-style has a small problem

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Blargh   USA  (6 posts)  Bio
Date Sat 28 Jun 2003 11:09 PM (UTC)
Message
While sending @@-commented softcode, it's my understanding the line should only be stripped if the @@ is in the first column.

This causes a slight problem when doing softcode for TinyMUSH, as @@ is also used as the null output delimiter, ie:

[iter(%q9,ifelse(##,##[extract(y d h m s,#@,1)]%b),,@@)]

MUSHclient currently takes the @@ and strips it and the rest of the line out.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 29 Jun 2003 05:09 AM (UTC)
Message
You need to distinguish between the two styles of commented softcode. See Commented Softcode documentation (which I have recently improved to clarify this point).

You need to start your softcode with #--something on the first line, and your problem will go away.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 29 Jun 2003 05:10 AM (UTC)
Message
Plus, it is # in the first column, not @@. See the above link.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,716 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.