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

Trying to set up a client server

Integrated Application Platform › Forums › General › Trying to set up a client server

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 4 months ago by Anonymous.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 28, 2011 at 6:23 pm #713
    Anonymous
    Inactive

    Now that I have my application pretty much done, I am trying to set it up to run as a server. I created the server.go file containing

    Use(“ssb”); ssb is the lib name.

    I try to start suneido from the command line by typing

    suneido -server server.go

    It looks like it starts to load then I get an error popup saying

    error evaluating: server.go
    (uninitialized variable: server)

    Thanks again for all your help
    Benny

    September 28, 2011 at 8:28 pm #895
    amckinlay
    Keymaster

    That all sounds correct.

    If you look at the code at the end of Init you can see what it does:

    if false is s = GetFile(args)
    s = args
    s.Eval()

    args in your case should be “server.go”

    It sounds like GetFile is failing and it is trying to Eval “server.go”

    You can run the above code (or just GetFile) from the WorkSpace and see what you get.

    Are you sure you’re typing the file name correctly, and that it’s in the current directory?

    September 29, 2011 at 3:38 pm #896
    Anonymous
    Inactive

    Thanks. I got it working. The prob was in the file name. when I saved the text file, it saved as server.go.txt. Once I corrected that, it started up no prob.

    Benny

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

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