Loading ...
Sorry, an error occurred while loading the content.

Re: [jasspa] Updated files for next release

Expand Messages
  • Jeremy Cowgar
    ... Oh, also, I do not know how to make this work: variable a = 10, b = 20; that works great, but what does not look right is: variable a = 10, b = 20, c = 30,
    Message 1 of 5 , Jan 6, 2004
    • 0 Attachment
      > I also created two other modes, one for S-Lang and another for EDI
      > files. The S-Lang mode has one problem that I am aware of:
      >
      > if (1==1)
      > {
      > printf("Hello, World!");
      > }
      >
      > works great, but I do not know how to make this indent properly:
      >
      > if (1==1)
      > printf("Hello, World!");
      >
      > It's just like C, in the respect that if only 1 line exists below if's,
      > else's, while's, etc... it does not need the { }'s.

      Oh, also, I do not know how to make this work:

      variable a = 10, b = 20;

      that works great, but what does not look right is:

      variable a = 10,
      b = 20,
      c = 30,
      d = 40;

      It should look like:

      variable a = 10,
      ....b = 20,
      ....c = 30,
      ....d = 40;

      and you should also be able to do:

      variable
      ....a = 10,
      ....b = 20,
      ....etc....

      Jeremy
    Your message has been successfully submitted and would be delivered to recipients shortly.