HDTenEightyP/NetNews huggingface dataset:
From: davids@c3.lanl.gov (David Simmons)
Subject: Re: SuperCard global statement
Organization: Los Alamos National Laboratory
Date: Tue, 14 Apr 1992 17:20:03 GMT

In article <167C99D2E.EIVERSO@cms.cc.wayne.edu>, EIVERSO@cms.cc.wayne.edu writes:
|> In article <GEIRP.92Apr13120526@gandalf.uio.no>
|> geirp@gandalf.uio.no (Geir Pedersen) writes:
|> 
|> >According to the SuperCard documentation the argument for the global
|> >statement can be a container which contains a series of variable
|> >names. We read this as the variable names that is contained within the
|> >container will be global. However, we can't make this work.
|> >
|> >Here is a simplified example that we have tried:
|> >
|> >on foo
|> >  put "a, b, c" into globs
|> >  global globs
|> >end foo
|> 
|> Try this:
|> on foo
|>   put "a, b, c" into globs
|>   do "global " & globs
|> end foo
|> 
|> Or you can always try this:
|> on foo
|>   global a, b, c
|> end foo
|> 

Maybe I'm missing something here, but why is this easier than

on foo
 global a, b, c
end foo

??

|> 
|> >When this script is executed SuperCard puts up a dialog with the error
|> >message: There is already a local variable with that name.
|> >
|> >We are running SuperCard 1.6.
|> >
|> >Has anyone gottent this to work?
|> 
|> I'm certain it will not work the way you wrote it.
|> >
|> >Thanks,
|> >
|> >Geir Pedersen.
|> >
|> 
|> --Eric

-- 


David G. Simmons
davids@lanl.gov

************************************************************
*							   *
*	All I'm asking for is a chance to prove		   *
*      	      that money can't make me happy		   *
*							   * 
************************************************************

"Any resemblance to real opinions is purely coincidental"
From: jerome@ee.fit.edu (Jerome Chan)
Newsgroups: comp.sys.mac.hypercard
Subject: Sending Messages over AppleTalk
Date: 16 Apr 92 04:26:08 GMT
Organization: Florida Tech, CP/EE Dept.

Is it possible to send Messages from one stack to another
stack on a different machine using HC 2.1?

If it is possible, what is the syntax?

--
 The Evil Tofu
 
Newsgroups: comp.sys.mac.hypercard
From: berger@dewey.soe.berkeley.edu (Daniel Berger)
Subject: Allowing other application events
Originator: berger@dewey.soe.berkeley.edu
Organization: School of Education, U.C. Berkeley
Date: Thu, 16 Apr 1992 18:47:36 GMT

Hi all -

I am playing with Supercard in attempt to communicate with Mac Lisp.  I
have been able to get the two applications to communicate via some IPC
code from Apple.

I have been able to get it to work with discontinuous steps (i.e., separate
buttons):  
	(Lisp is running and is waiting for the message)
	Button 1:  Supercard writes the message
	(lisp grabs the message - evaluates it - writes the result)
	Button 2:  Supercard reads the result.

I would like to do this with one button with supercard writing the
message, "waiting," and then reading the result.

The problem is with the "waiting" - I need a Supercard command that will allow
pending events in other applications to be run.  In lisp this is
called "event-dispatch" - is there a Supercard command to do this?  Is
there an XCMD that does this?  If so, where can I get it?


I do not read this newsgroup - could you please send responses directly to
me?

Thank you,
Daniel Berger

berger@dewey.soe.berkeley.edu
Xref: sparky comp.sys.mac.hypercard:1915 comp.sys.mac.hardware:9245
From: sgoldsmi@neumann.une.oz.au (Stephen Goldsmith)
Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.hardware
Subject: Bar Code Reader
Date: 16 Apr 92 08:25:36 GMT
Followup-To: poster

Hi,
	I was wondering if anyone has had any experience with bar code readers for the mac. At work we have just purchased one made by TPS and apparently it runs under hypercard. So, if anyone could help me in any way with suggestions or example stacks, etc. Could you please email me at the below address. 
			HAPPY EASTER!!!

		Thanks in advance
				Steve Goldsmith


		email: sgoldsmi@neumann.une.oz.au
From: geniene@fwi.uva.nl (Geniene (Sheep))
Newsgroups: comp.sys.mac.hypercard
Subject: >Book on Writing XCMDs
Date: 15 Apr 92 10:56:18 GMT
Organization: FWI, University of Amsterdam

The book I use for writing XCMD's is called :

             XCMD's for HyperCard written by Gary Bond
             ISBN 0-943518-85-7   

This book addresses both Pascal and C programmers.

                                                 Sheep.
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Repeating Variables
From: clas005@csc.canterbury.ac.nz
Date: 16 Apr 92 13:39:50 +1200
Organization: University of Canterbury, Christchurch, New Zealand

In article  davids@c3.lanl.gov (David Simmons) writes:
> I have a series of variables, and I want to look at them
> through a repeat loop, but HC doesn't seem to want to do
> this.  It is basically an array problem.
> 
> In C, I would say
> 
> for(i = 1; 1 < 10; i++)
>   if row[i] == var[i]
> 	<doStuff>
>   end if;
>

<stuff deleted: he couldn't get this to work in HC>

You can use array variables by forcing a second level of parsing 
with the "do" command. If x contains 4, then

do "put 6 into var" & x

will cause a variable called var4 to hold the value 6. You may 
not be able to get this into an if statement, so use a separate 
evaluation line, e.g.

do "get (row" & x & " = var" & x & ")"

This will put true or false into It, and you can branch 
accordingly.

--------
Get my HyperTalk Help DA from sumex! Plug plug. matt n.
From: cromwell@spot.Colorado.EDU (CROMWELL JON DAVID)
Newsgroups: comp.sys.mac.hypercard
Subject: Apple's Developer Stacks
Date: 16 Apr 92 17:28:30 GMT
Article-I.D.: ucsu.1992Apr16.172830.23089
Organization: University of Colorado, Boulder

I have the TechNotes Stack, HIN Stack, and the Inside Macintosh stack.

Apple periodically releases updates to them in the form of individual files
that are revisions to old notes or just new notes.

I have been able to paste the text into new cards, but have been unable to 
update the main index cards (blank lines appear for the new cards and move me
to the proper card when I click on th, but I cannot name these links), also, 
I have been unable to connect to the graphics that I clip out of the revisions.

If you know what I am trying to say and have some experience with these things, 
(I don't have that much) would you please help me.

Thanks in advance.
From: M23198@mwvm.mitre.org
Newsgroups: comp.sys.mac.hypercard
Subject: SuperCard limits # of objects
Date: 16 Apr 92 11:56:51 GMT
Article-I.D.: mwvm.167CB6FCD.M23198
Organization: The MITRE Corporation, McLean VA 22102


 
Has anyone been able to place more than 32,768 objects on a card in SuperCard
1.6?  Aldus claims the number of objects is only limited to memory, but
I checked the heapspace frequently and never came within 10 megs of running
out of memory.
                   Thanks.
 
-------------------------------------------------------------------------
PAUL LEVY
THE MITRE CORPORATION
E-MAIL: PLEVY@MITRE.ORG
"DIRTY BOOTS ARE ON"
From: jahnke@biosci.arizona.edu (Jerome Jahnke)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Boolean search
Date: 7 Apr 92 20:11:27 GMT
Organization: Biology Learning Center

In article <1992Apr6.225603.1@cc.helsinki.fi>, tsaavalainen@cc.helsinki.fi writes:
> 
> Is there a way to do a boolean search (with and, or, not - options) in
> HyperCard 2.0? I'm trying to write a script that would recognize a background
> field line with two or more searched strings. If you have some ideas how to
> solve this, please let me know.
> 

it is not hard at all. Consider the following script.

on findbooleanand itemone, itemtwo
   unmark all cards
   mark cards  where a field contains itemone and a field contains itemtwo
end findbooleanand

The Mark command is powerful. But to do exclusive (not) searches. We need to
do two passes.

on findbooleannot itemone, itemtwo
	unmark all cards
 mark cards where a field contains itemone
 unmark cards where a field contains itemtwo
end findbooleannot

Both scripts mark the cards which meet the search criteria. All you gotta do
is jump to the marked cards. If "number of marked cards" is 0 then there 
were no hits for your search. You can actually generalize these to a point
that you would be able to parse a command line and send the right commands
to the right script and have it mark and unmark for long and complicated 
searches. I have done something like this for a stack for my wife. We use
it to analyze the trends in the romance writing industry (she is a budding
young author in the field and the stack helps us decide who to send what).
Anyway, we can search through the last 3 years of releases and find a publisher
who has a good success rate with a particular genre. Our boolean commands
can have up to 16 arguments. It works very well. You need to know how to 
parse the input, but once you have that the searches work flawlessly.

> 
> 				Timo Saavalainen
> 
> 

Jer,
----
Jerome Jahnke
Biology Learning Center
University of Arizona
'jahnke@joplin.biosci.arizona.edu' or +1 (602) 621-3820
From: mike@pyrite.SOM.CWRU.Edu (Michael Kerner)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: HyperCard virus symptoms?
Keywords: HyperCard virus help message beep
Date: 7 Apr 92 15:32:22 GMT
Article-I.D.: usenet.1992Apr7.153222.10823
Organization: WSOM CSG, CWRU, Cleve. OH
X-Post-Machine: pyrite.som.cwru.edu

In article <parkyn.702488875@sfu.ca> parkyn@fraser.sfu.ca (Dale Parkyn) writes:
>Question:  What does the stack virus actually do?
>
>  I have several Macintoshes (II si) that are not running HyperCard
>the way they used to.  I can no longer make proper use of the message
>box.  Specifically, trying to press ReTurn, Enter to execute the 
>instruction in the message box just results in a beep.  Some other
>keyboard codes (Com-1 first...) also just beep, can still use the
>command from the menu though.
>  The machines have the latest GateKeeper version, a stack virus
>is not detected by this if I remember correctly.
>
>  So, how would I check for a stack virus anyway?
>
>Thanks for any clues.  Reply here or e-mail to parkyn@sfu.ca
>

HMM... my memory is short, but this is not a symptom of the HC viruses
that exist to date.  The only two that exist on a wide scale are the
Dukakis trojan and the German folk tune.

Incidentally, for those of you who are interested, I have tested and
am ready to start selling HyperGard(tm), an XCMD which attaches
directly onto HyperCard and inhibits the only two know HC viruses
to-date.  If you would like a copy, or find a new virus, I would like
to know about it.  P.S.  I think I am going to sell the product for
$25 U.S. per copy.  Site licensing is available.  Those of you that
have expressed interest in the Lab Tools set of stacks and externals
will be receiving information about both the Tools and HyperGard(tm).
If you don't believe me, let's say this - I'm finishing my M.B.A.
right now, so if I don't actually get everything done by the end of
the month, they will certainly be going out in May - the only things
that are remaining are a little on the applications launcher/Finder
replacement.

Mikey 
Mac Admin
WSOM CSG			/ TRW Inc.
CWRU				/ Corporate HQ
mike@pyrite.som.cwru.edu
From: laurie@umaxc.weeg.uiowa.edu (Laurie Dickinson)
Newsgroups: comp.sys.mac.hypercard
Subject: More re QuickTime in SuperCard
Date: 14 Apr 92 16:30:18 GMT
Distribution: na
Organization: U of Iowa, Iowa City, IA

I've gotten a hold of the JFK stack and copied the QTMovie to my Supercard
project and run a simple QTMovie OpenMovie,Direct,filename,location,options, etc, but the mos it'll do is display the first image of the qt movie to
my screen.  Does anyone have anything explaining the full syntax of the
QTMovie xcommand?  

Laurie Dickinson
Educational Resources Group
S256 Westlawn
The University of Iowa
Iowa City, IA  52242-1100
From: rhutchin@Bonnie.ICS.UCI.EDU
Subject: Password..
Newsgroups: comp.sys.mac.hypercard
Date: 9 Apr 92 18:19:00 GMT

OK, a close friend of mine passworded a real important stack and decided
to forget the password. He and I have been over all his *regular* passwords
and can't seem to find a match. So what I want to know is if there exists
a way to find the password. Could there be??

Please respond via e-mail to me.

Richard B. Hutchings
UC Irvine

(rhutchin@bonnie.ics.uci.edu)
Newsgroups: comp.sys.mac.hypercard
From: spencer@nigel.cgrg.ohio-state.edu (Stephen Spencer)
Subject: Printing Cards....Close(r) To The Edge. 
Originator: spencer@nigel
Organization: OSU Advanced Computing Center for the Arts & Design
Distribution: na
Date: Tue, 14 Apr 1992 16:11:58 GMT

Is there any way to make Hypercard print closer than 0.75 inch from the
edge of the page when printing to either a StyleWriter or Personal
LaserWriter NT?  I know that SOME applications WILL print closer, and 
I've seen applications like FrameMaker print almost to the edge of the
paper on LaserWriter IINTs (possible caveat: that was on a UNIX system),
and I'd like to design forms for people to use here at work but need to
get closer to the edge of the paper.

Will setting the "printMargins" make any difference?

Can anyone help?  I'd really appreciate it.


 
-- 
Stephen N. Spencer  		     |                      Ride Bike!  ,__o
ACCAD - The Ohio State University    |                                _-\_<,
1224 Kinnear Road Columbus OH 43212  | Indigo Girls Mailing List:    (*)/'(*)
spencer@cgrg.ohio-state.edu	     | indigo-girls-request@cgrg.ohio-state.edu
sspencer@magnus.acs.ohio-state.edu : SSpencer (AOL) : 77160,4033 (CompuServe)
Xref: sparky comp.sys.mac.hypercard:1845 comp.cog-eng:194 comp.human-factors:1130
From: fordj@yvax.byu.edu
Newsgroups: comp.sys.mac.hypercard,comp.cog-eng,comp.human-factors
Subject: Looking for Published Flowcharts
Date: 9 Apr 92 12:34:41 -0700
Organization: Brigham Young University



I am doing some research comparing various aspects of expert systems
and flow chart forms of the same decision process.  I am looking for some
published flow charts that I could use all or part of to construct some medium-
sized expert systems to train users in the shell that I am using.

Any pointers to published or otherwise well-documented flowcharts,
decision tables or other formalized decision procedures would be most
appreciated.

Thanks,

John M. Ford             BYU Instructional Psychology Program
740 South 50 East        (801) 224-9039
Orem, UT 84058           fordj@yvax.byu.edu
Xref: sparky comp.sys.mac.hypercard:1919 comp.sys.mac.programmer:8334
From: zee@fwi.uva.nl (Daniel M. van der Zee (I89))
Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer
Subject: Hooking hypercard to internet
Keywords: hypercard internet
Date: 16 Apr 92 14:46:13 GMT
Organization: FWI, University of Amsterdam

For the sake of a simple user interface i would like to be able to hook
up a hypercard stack to a unix BBS running on the internet. The goal is
to give a user of our set of stacks (course design system) a very simple
interface to the BBS as an intergral part of the stack by adding a menu
to the menubar with items like "post message", "mail message" and "read mail".
A comand like "post message" should bring up a floating window and enable to
edit a message there (+ copy/paste from the stack) and (at the user's request)
open a connection to the bbs, post the message and logout.

To handle commands like this i'm looking for external commands like
  OpenInternetConnection
  CloseInternetConnection
  SendText
  RecieveText
Does someone know where I can get such commands and, if not, where i should
look for documentation on writing such code (maybe i should look at the
NCSA telnet source).
Oh yeah, users of our stack use low-end macs (mac+/classic 2.5 Mb RAM) and
therefore have not installed system 7 (still running 6.X) and the externals
should be able to run on their hard/software.

If you want to reply, please send me a copy of your message throug e-mail 
because our system admin set up the news system to delete messages within 2/3
DAYS and a easterweekend is starting tomorrow.

I will ofcourse post a summary to the net and let you know how i solved the
problem.

(Excuse my poor spelling etc)

Thank you already,
Daniel van der Zee 
zee@fwi.uva.nl
From: Jim.Williams@macnet.omahug.org (Jim Williams)
Newsgroups: comp.sys.mac.hypercard
Subject: QuickTime in HC2.1
Date: 07 Apr 92 22:54:04 CST
Reply-To: jim.williams@macnet.omahug.org
Organization: Macnet Omaha
Followup-To: comp.sys.mac.hypercard

  I've read that the newest HyperCard release is QuickTime-aware. I'm not interested
in playing movies through stacks, but would be VERY interested to know whether
this means the "picture" command can display PICTs that have been compressed
with QuickTime's built-in JPEG compression. Anybody know about this?
From: Roger.W.Brown@dartmouth.edu (Roger W. Brown)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Reading serial port
Date: 17 Apr 92 12:47:11 GMT
Organization: Dartmouth College, Hanover, NH

In article <DrPATNAIK.92Apr16095221@hemlock.nrl.navy.mil>
patnaik@hemlock.nrl.navy.mil (Gopal Patnaik) writes:

> I would like to read data which appears on the serial port. 
Currently I 
> can do this by calling an XCMD in an idle handler; however, I would much 
> rather have the incoming data cause an HC message to occur, rather than 
> testing the port periodically myself.

Without thinking about it too hard, it seems to me that the best way to
do that would be to create an XCMD that creates an invisible external
window. The window would request idle events and would poll the serial
port at idle time, sending a message to HyperCard when there is
anything on the port. Or perhaps when there is something you are
specifically looking for on the port. External windows do not get idle
event while scripts are running, though, so you might still have to
poll directly if you have time-consuming scripts going.

If you have not written an XCMD before, this is no help. I don't know
of any existing XCMDs that can do this. 

MitemView does something like this, but with a lot of extra baggage
(and cost) if all you want is notification of some activity on the
serial port.

Anyone have other ideas?


-----------------------------------------------------------------
Roger Brown                           Roger.W.Brown@dartmouth.edu
Software Development
Kiewit Computation Center
Dartmouth College, Hanover, NH
Newsgroups: comp.sys.mac.hypercard
From: davids@c3.lanl.gov (David Simmons)
Subject: Re: Speeding up a search/replace/sort routine
Organization: Los Alamos National Laboratory
Date: Wed, 15 Apr 1992 14:15:46 GMT

In article <95.29e8b08b@ivgate>, Jim.Williams@macnet.omahug.org (Jim Williams) writes:
|> (To: jbnash@vms.macc.wisc.edu)
|> (Organization:  University of Wisconsin Academic Computing Center)
|> 
|> J.B. Nash at the University of Wisconsin Academic Computing Center asks:
|>  
|>  <>> I have a script here that turns the words of a field into a list of words
|>  <>> and then sorts them alphabetically.  Problem is this script has to look
|> at
|>  <>> every character of every word, so fields with a lot of text take many 
|>  <>> minutes to sort. 
|>  <>> Is there a better way to have it look at each word instead of each
|>  <>> character? (or some other faster solution?)
|> 
|> I don't know whether this will run any faster, but how about the following:
|> (text to be sorted goes into sourceField; sorted text appears in destField)
|> 
|>   set cursor to busy
|>   put empty into field destField
|>   repeat with i=1 to the number of words in field sourceField
|>     put word i of field sourceField & return after field destField
|>   end repeat
|>   sort lines of field destField

You might also try

	put empty into field destField
	repeat with i = 1 to the number of words in field sourceField
	   put word i of field sourceField into line i of destField
	end repeat
	sort lines of destField

This will just elimintate the step of putting "& return after" from the
previously suggested script.

You should also be able to have destField be a variable, then sort the 
variable, then put it back into the source fieled without the extra
step of having another field involved, if you want that.


|> 
|> I don't know how your script performs, but this one sorted the first page of
|> "Jeeves Takes Charge" (230 words) in about 70 seconds on a Mac Classic. Using
|> the "sort lines" command should be a bit quicker than sorting character by character,
|> and it's much easier to script! Good luck...
|> 
|> I can't send Internet mail directly, so if anyone thinks this will help J.B.,
|> please see that it gets to him. Thanks!

-- 


David G. Simmons
davids@lanl.gov

************************************************************
*							   *
*	All I'm asking for is a chance to prove		   *
*      	      that money can't make me happy		   *
*							   * 
************************************************************

"Any resemblance to real opinions is purely coincidental"
From: mike@pyrite.SOM.CWRU.Edu (Michael Kerner)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: problems using "Send"
Date: 16 Apr 92 18:53:31 GMT
Article-I.D.: usenet.1992Apr16.185331.15660
Organization: WSOM CSG, CWRU, Cleve. OH
X-Post-Machine: pyrite.som.cwru.edu

In article <D2150044.13c7an@boomrang.UUCP> boomrang!dak@mips.com (David A. Kearney) writes:
>Greetings,
>
>I'm using HC 2.1 and I'm having a little trouble using the 
>send command. I'd like to be able to say:
>
>	send doTheWildThang to bg btn "Wild One" of bg "Wild Place" of
>		stack "Wild"
>
>And it doen't like it.  Is there a way to send messages to objects
>in other stacks?

As I recall, the answer is "NO".  You CAN send messages to open cards
of open stacks, open backgrounds of open stacks, or open stacks, or
to stacks that are closed but are in the dynamic path via "start
using", but that is it.  The dynamic path does not include other
objects in the path.  Sorry!

Mikey.
--
Mac Admin		WSOM CSG			/ TRW Inc.
			CWRU				/ Corporate HQ

DISCLAIMER:  Neither I nor the hacker scum that cracked my password typed this.
Newsgroups: comp.sys.mac.hypercard
From: u240353@sparc20.ncu.edu.tw (gp*)
Subject: How to go home?
Organization: NCU
Date: Sat, 11 Apr 1992 10:36:08 GMT

There is a sample application of HyperCard in our network in our school. I copy
the HOME stack to my own floppy disk and change its name into MYHOME. I run
MYHOME and run another stack, for example the addresses stack. But when I press GO Home in addresses Stack, I go to the HOME in networks instead of MYHOME
in my own disk!  Could every one tell me how can I go back to MYHOME not HOME?

Thanx....

Andrew Wang
u244205@twncu865.bitnet
u433214@twncu865.bitnet
u430051@sparc20.ncu.edu.tw
u240353@sparc20.ncu.edu.tw
andrew@imux200.mgt.ncu.edu.tw
801051@imnv110.mgt.ncu.edu.tw

Newsgroups: comp.sys.mac.hypercard
From: huberf@Informatik.TU-Muenchen.DE (Franz Huber)
Subject: Starting Excel macros from Hypercard stacks
Originator: huberf@hphalle0.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Fri, 10 Apr 1992 12:04:15 GMT


I am posting this for a friend of mine who would like to know if the following
things are possible with HyperCard:
He wants to invoke MS Excel from a HyperCard stack, open an Excel file, and
start a macro that performs some actions on a table/database contained in this
file.
Is it possible to do this, and moreover, ist it possible to pass information
from HyperCard to Excel about which actions to perform on which data and to get
back results from Excel into HyperCard (maybe using the clipboard)??

If you know a solution, please respond via email to
huberf@informatik.tu-muenchen.de

Any help will be appreciated.

Thanks in advance,
F. Huber