In what I am trying to do, I have to run either a one-way Anova, a

two-way Anova, or a three-way Anova. I have written a wrapper

function to call the appropriate test and return the results to the

wrapper function.

Ideally, I would like to return a cell array (or struct) with each

row containing the information for a particular graph and the number

of rows indicates to the graph function how many graphs to create.

Does anyone know of a better way to do this than with

varargout/varargin? And, can you help me figure out how my sample

code above could be modified to make that happen?

Thanks.

1. My I's are coming up i's. (lower case)

2. A trivial problem with Tk, I am sure I am not doing it the right way

Hi All

I am novice in Tk , so I have goofed up somewhere in my code ...Need

help

Heres my partial code snippet

# I define a global variable

set udrPath /udr

# and then I use it as textvariable for my entry widget

entry .bfmc.ud -text "/udr" -textvariable udrPath

#next to the entry widget, i have a button

button .bfmc.btud -text "Set" -command { MIBUpdate 0 $udrPath }

#So my idea is to trigger MIBUpdate procedure with the value of udrPath

whenever I click the button

#MIB Update is defined as

proc MIBUpdate { type value } {

global udp testStat udrPath

if { $testStat == "Stop" } {

puts $udp $type$value

}

if { $type == 0 } {

set udrPath $value

}

}

SO basically I enter a text in entry widget and it get set in the

udrPath variable

then when I click the button the MIBUpdate is called and the udrPath

value is sent to a udp socket inside the procedure.

This works fine in normal scenarios but there is a problem .as follows

if I enter the first time

/udr as the value inside entry it works well

but next time if i enter, say

/ab , then the value at remote udp socket is /abr instead of /ab , so

/ab overwrites /ud of /udr and becomes /abr

i.e the new value overwrites the previous value instead of scrapping it

totally.

I am sure there is a workaround but i am just not able to figure it

out.

Any help will be appreciated

thanks

in advance

3. Restricted Group Problem My Scenario and problem..what am i doing

4. I am doing a calculation in excel, I am multiplying a figure by a

5. I am having trouble adding a poem....what am I doing wrong?

6. I am stupid and don't know what the heck I am doing wrong on t

7. QBF problem - KB article 304428 - not evaluating "Forms" corre

8. StreamReader problem. What am I doing wrong?

9. eps export problem, what am I doing wrong?

10. Report Problem - What am I doing wrong?

11. Report problem - what am I doing wrong?

12. problem with billboarding, what am I doing wrong?

13. Is there a problem with IIF or am I doing something wrong?

14. i am doing something silly here - ctype problem

15. Index problem -- what am i doing wrong?

1 post • Page:**1** of **1**