The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.misc
From: "Rod Pemberton" <do_not_h...@nohavenot.cmm>
Date: Thu, 27 Aug 2009 04:40:24 -0400
Local: Thurs, Aug 27 2009 4:40 am
Subject: Re: Syntax for user-defined infix operators
"Dmitry A. Kazakov" <mail...@dmitry-kazakov.de> wrote in message
news:zm5nrfntir2z$.212ivhpy3lmn.dlg@40tude.net... > On Wed, 26 Aug 2009 20:20:31 GMT, bartc wrote: Heh! You just reminded me of BASIC. BASIC had/has three substring > Once I designed a language close to what James proposes with regard to the > In particular it has the operations "." and ":", which are used to extract > "abcdef".3:2 = "cd" > it works as follows: > ("abcdef".3) = "cdef" operators, i.e., LEFT$, RIGHT$, MID$, and one operator for string concatenation, +. Even after years of C programming with the immensely useful and powerful C string functions, I'm always amazed by how much those four operations could do in BASIC. Unfortunately, C needs a function to do string concatenation, i.e., strcat()... Rod Pemberton You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||