Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: zskater
  • Content: Threads
  • Order by date
  1. zskater

    opening a tcl file from another ?

    If i have 2 files eg. test1.tcl and test2.tcl and i want a button in test1 to run test2.tcl what do i need to write in test1.tcl I have been trying -command {source test2.tcl} but always get the message could not read file "test2.tcl" : no such file or directory...
  2. zskater

    variable problem (i might just be THICK )

    When the window for our drawing tool loads up it accesses our database through C functions to find the names of the buttons and there drop down menu names that we want displayed on the screen ########################################################### proc pulldownmenu {} { global celltype...
  3. zskater

    passing arrays

    if i have an array like array set Cellinfo { type 1 width 80 height 120 cost 50 color #D60000 } and i want to call a procedure and pass it the array name so the procedure can perform calculations on the data in the array eg. startCell Cellinfo proc startCell { } { upvar } i...
  4. zskater

    Splitting a string

    when setting the variable testVar to the following expression set testVar [eval .c coords $Move(utag)] It returns a string containing the co ordinates of the rectangle that has been selected on the canvas. eg. 80.0 140.0 160.0 260.0 How would i then split that variable up into the four...
  5. zskater

    list of array of records

    i am reading my tcl book at the moment and having difficulty getting my head around how to build a list that contains an array of records and then being able to populate the arrays with data does anyone have any example code that might make things clearer for me Cheers Steve
  6. zskater

    cant understand procedure

    The following code is code that a member of my team passed to me and i have modified for our project. I understand everything apart how the utag procedure works and in proc makeHorse i dont understand what information is contained within the var set Cell(id) / ....... I know that every cell i...
  7. zskater

    snap to grid ?

    I am designing a drawing package for my uni project At the moment i have a scrollable canvas with a grid on it I have buttons that when pressed i can drop a rectangular object on to the canvas where my cursor is What i would now like to do is include some code to get the rectangles to line up...
  8. zskater

    I am half way through my 3rd year s

    I am half way through my 3rd year software enginering project at uni ,we are now into the implemetation stage. None of our team have ever used tcl/tk before so we are having a lot of trouble. What I need to know can be simplified to the following when I click on a button that I have already...
  9. zskater

    user names

    my problem is I cant find how to access the users name who created each file in a directory I know using ls -l can tell you this but Im not accessing it from the command line For finding the size of the files and the times they were last modified I have been using stbuf.st_size and...
  10. zskater

    Help with C in UNIX environment

    I am having trouble with my uni homework , I have been reading through my books but cannot find the information i need. I dont know the code for obtaining file information We have to write the program in C running on UNIX machines Im hoping someone can point me to a relevent web site where i...
  11. zskater

    Convert Hex. to Decimal

    I am studying computing science at university and i am having problems with the following homework I'm hoping someone will be able to help me out. HOMEWORK Develop an emmbedded intel 8086 assembler program in stages to solve the following problem Convert a string containing an unsigned integer...

Part and Inventory Search

Back
Top