Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

File I/O With Sioux

Posted on 1997-05-17
2
Medium Priority
?
160 Views
Last Modified: 2013-12-26
OK, I have a program in SIOUX that reads a file, does various operations on the file, and saves the output to a different file. I would like to have the user pick the file from the standard file dialog box. Also, I would like the user to be able to the same thing (a dialog box) when saving the new file. How hard is this to implement? I have done some basic Mac programming and would appreciate some assistance.
0
Comment
Question by:bobc051797
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:Paul B
ID: 1291473
Hi,
  Yes you can do both SIOUX and Mac specific stuff in the same program. The secret is first you must initiaize SIOUX with a printf or other call to SIOUX first. This will initialize the window manager and I beieve the dialog manager as well.

Paul
pbaxter@assistivetech.com

0
 
LVL 1

Accepted Solution

by:
PAD earned 200 total points
ID: 1291474
Paul was right, SIOUX initialize Toolbox and implement a kind of terminal but you can use (and i make use of them) any Toolbox routines and of course Dialog Manager and Standard Get File Package to ask user to choose  a file or give a name to file to save.
Its as simple as in any other Mac application.
You can find sample on Apple CD or on Apple Dev Web Site, those sample show you that way to use Standard File Package

Good luck
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question