Suneido

Integrated Application Platform

  • Home
  • Learning
    • Suneido Manual
    • Beginners
      • Inside Suneido
      • The Suneido Programming Language
      • The Suneido Database
      • Installing Suneido
      • Building Suneido
      • IDE Go To Tour
      • Upgrading To A New Release
    • Advanced
      • Canvas Control
      • DrawControl Part 1
      • DrawControl Part 2
      • DrawControl Part 3
      • SAX Like XML Processing
      • A Plug-In Architecture
      • A Simple Wizard Framework
      • An HTML Include Facility
      • An RSS 2 Feed Creator
      • MIME Generation
      • A New Add-on Facility
      • Workspace Improvement Hack
    • Mockito for Suneido
    • The Suneido Task Scheduler
    • Contributing To Suneido
    • Contributor Assignment of Copyright
    • Language Translation
    • Future Directions
    • Interview With Andrew Mckinlay
  • Forum
    • Announcements
    • Internals & Enhancements
    • Cookbook
    • General
  • FAQ
  • Screenshots
  • Downloads
  • Links

Two New Features

Integrated Application Platform › Forums › Internals & Enhancements › Two New Features

  • This topic has 0 replies, 1 voice, and was last updated 10 years, 7 months ago by amckinlay.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • July 12, 2012 at 8:25 pm #729
    amckinlay
    Keymaster

    I recently added a couple of small features to the language.

    Concatenation in string constants

    #(“a long string ………..” $
    “………… some more”)

    This is primarily cosmetic – code with long strings can be formatted nicer.

    The concatenation is done at compile time.

    Default value for switch statement

    switch { … } is equivalent to switch (true) { … }

    This is useful when you put expressions in the cases:

    switch { case x < 5 : ... You can, of course, do the equivalent with a series of if-else but sometimes the switch format is clearer. These changes are in version control. I’ll post a new release at some point.

  • Author
    Posts
Viewing 1 post (of 1 total)
  • The forum ‘Internals & Enhancements’ is closed to new topics and replies.

Search Forums

Log In
Welcome to the new Suneido Web Site and Forum.
Register
Lost Password
users of the previous PHPBB Forum should be able to log in with their previous username and password.

Recent Topics

  • Alpha copy of gSuneido to play with
  • how to start jsuneido ?
  • Problem Starting Suneido…
  • Dialog not showing buttons
  • New link for Suneidojo

Contact Us | Legal Statement | Privacy Statement | SiteMap

Copyright © 2023 Axon® Development Corporation. All Rights Reserved. - Open Source Integrated Database and Programming Language