Self as an input/output argument

Hi,
does anyone know if self is a valid argument to a method that defines its
parameter as input/output?
The reason I ask is that I am trying to move an application from 2.0.F.2 to
3.0.C.0, and the TOOL compiler gives me an error that it can't find a
method with a signature of "x" and it has methods with signatures of "x",
"y" and "z". The only clue I have is that the compiler advises: "Check that
any values passed to output or input output parameters are values that can
be changed like variables or attributes."
I might add that I personally would not be using self as an argument to
input output parameters because of my C++ heritage. Passing "this" to a
member function that might change the value of "this" is not a great idea!
However, this is the code that I have to work on, warts and all, so any
help is gratefully received.
TIA
Nick.
Nick James [email protected]
612/404-4277 or
Consultant 414/814-3170
BORN Information Services Group
Volvo, Video, Velcro - I came, I saw, I stuck around.

Just out of curiosity,
What are some other such read-only attributes that are coming with
R3? That way, those of us still coding in R2 will know to avoid using
those as output parameters, and thus avoid having our code broken
when we move to R3.
Thanks!
Elias.
Claremont Technology Group, Inc.
111 W. Liberty St., Cols, OH 43215
(614) 628-4891
[email protected]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
To: jamesn @ ns.born.com (Nick James) @ internet
cc: forte-users @ Sagesoln.com @ internet (bcc: Elias Fayyad/Central
Region/Claremont)
From: dnelson @ forte.com (Don Nelson) @ INTERNET@WORLDCOM
Date: 05/27/97 12:48:18 PM CDT
Subject: Re: self as an input/output argument
Nick,
R3 does not allow you to change the value of self. It is now considered a
read-only variable. Read-only variables may not be passed to methods using
output parameters. R2 used to, but then the C++ compiler would, of course,
choke on it.
It was a convenient way to make the compiler fail if you needed to,
though....
Don
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Similar Messages

  • How many number of input/output arguments allowed in Stored procedure

    Please let me know how may input and output arguments are allowed in Oracle stored procedure.
    I wan't to writer one generic SP and for that I need to know the limitation on the number of arguments. I am using Oracle 8.0.5.

    The output from the BPEL process will be in XML format.
    Your requirement is not clear, please state it properly what are you trying to do.
    -Yatan

  • Restoring .dmg image from external to Mac HD in Disk Utility: "Unable to scan image (Input/output error)"

    Hi guys,
    So I've got a problem with restoring the image backup I did (using Disk Utility) of my 500GB HD on my MBP which was acting weird or maybe even crashed a few months ago. After creating the backup image and putting it on my external device, I installed Mavericks back to see if everything was alright (mainly the HD) and everything seems okay.
    I did try restoring the backup image through disk utility before installing mavericks (thus erasing everything again on the HD) AND after. But nothing..
    The whole process starts fine and then it starts scanning the image when after maybe a good 10-15min in I get a message that says that it was unable to scan the image. I tried verifying the disk(s), everything came out "OK". Also tried scanning it through Images > Scan image for Restore... with the same results.
    While searching I've seen people getting messages like "Unable to scan filename.dmg (Invalid argument)" and "Unable to scan filename.dmg
    (Internal error)" but none have (Input/output error)
    The screen grab is below.
    I also came across something about using terminal/commands but I'm not that savvy with it, especially considering that those there had issues with either mounting or trouble finding the image.
    I've also tried moving the backup image to a different external device 2TB and also the desktop because I read it may have to do with the format of the externals or maybe free space. But THEN I would get a message saying
    "The Finder can't complete the operation because some data in "Mac HD Backup.dmg" can't be read or written. Error code -36"
    Fyi ALL my externals are HFS+/Journaled and the backup image format was compressed.
    I REALLY don't know what to do next. Was it the wrong move to create a dmg image? Have I lost everything? Is there still a way out?
    If anyone can help, THANKS!
    2012 MacBook Pro, Mac OS X (10.9.3)

    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider. You may have to leave the machine there for several days.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • Input / Output Error when creating GUID Partition on External Drives

    I've been trying to setup an install of OS X on an external device and therefore need to partition them to the GUID Partition Scheme.
    I've tried it with my iPod and an External Hard Disk Drive and no matter what I do, I get the error:
    Exited with Error: Input / Output Error
    Thats all I get. I can partition them with either of the other two choices, but of course those wont let me boot an Intel Based Mac.
    The External HDD is USB 2.0, the iPod I've tried both USB and Firewire, and have not had any luck. I know it can be done, but am not sure why I'm having this problem.
    Any suggestions?

    I'm having the same problem. Trying to format an external drive with the GUID scheme fails.
    # diskutil eraseDisk HFS+ Test GPTFormat /dev/disk1
    Started erase on disk disk1
    Creating Partition Map
    error writing partition map: Invalid argument (22)
    Partitioning encountered error Invalid argument (22) on disk disk1
    I've tried this on my Intel MacBook and on my PPC Mac Mini. Tried using a generic USB2 flash disk and also an iPod shuffle. Always the same error.
    Is GUID broken on external drives?

  • External Hard Drive Input/Output error

    I recently started having problems with an external hard drive setup that I did not have problems with prior to upgrading to 10.5.5 and trying to setup the drive to be compatible with Time Machine.
    The hard drive enclosure that I have has 2 bays for two SATA drives. I have used this enclosure without any problems until I tried to get 1 drive to act as the backup drive for Time Machine and the other to be storage. I formatted them using Drive Genius. I used the option for GUILD or GUIL which it said was the better format for using with Time Machine.
    The first problem I ran into since upgrading and reformatting the drives is I got an "input/output" error the first couple times I connected the drive via USB to my Mac. I could still use the drives but I got weird errors every once in a while like "input/output error" or "device was not ejected properly" even though the device had not been unplugged.
    Now the drives will not mount using OS 10.5.5. The drives show up when I open Disk Utility, but I cannot get them to mount. I have ran Disk Utility First Aid, and it says the drives are fine. There is one error that shows up when I run the "Repair Disk" feature. It reads "Invalid content in Journal". But Disk Utility also says "The volume was repaired successfully".
    I have seen some posts when I do a search in google about this issue and it seems this is a known issue. Every suggestion I see says to insert your Tiger DVD and reformat the drive using that and the problem will be solved. The only problem with that is I have a lot of important files on the drive that I cannot lose. I had the files backed up until I moved them to the new drive a while back. Now I do not have a backup because I was in the process of switching to bigger drives and erased the old drives after doing so because everything was working fine.
    I am hoping someone out there may have some suggestions (other than erasing the drive) to get my dives to mount so I can transfer the data off to another drive and reformat after.
    Thanks,
    Paul Rugg

    Thanks for the suggestion.
    Do you think that would work better than Drive Genius? I bought Drive Genius 2 and it does not even see the drives when they are plugged in unlike Disc Utility which can see the drives but cannot mount either one.
    Maybe this following post I made to a different questions may help. The data on the drive is other buying another program for if it will work. I think my next step may be to go over to a friends place and try to mount the drives on his computer and transfer stuff off if they connect.
    text below posted to other question relating to external hard drive problem.
    I have recently had the same mounting issue with my new external hard drive. I just purchased a new 750Gb Western Digital Sata drive and got everything transfered over to it. Immediately, I got an error saying that the drive had been ejected incorrectly even though it was still plugged in. I was a little curious. I restarted the computer (hard drive still plugged in via USB 2.0) and the drive showed up just fine. I plugged another 250Gb drive into the same case (2 bays) and the 250GB drive showed up just fine.
    Well, I then noticed there was an OS upgrade available when I ran Software update so i ran it and when I rebooted the drives were gone. I can see the drives in Disc Utility, but they will not mount. Drive Genius cannot see either disc. Disc Utility says I need to repair the drives, but when I do it says they are fixed but they don not mount.
    The problem really seems to be related to mounting USB external drives. I got ahold of 2 seperate external firewire hard drives and one shows up just fine while the other has the same problem (both work on other systems. I would try wiping the drives and reformatting but ALL MY stuff is on them and not everything has been backed up. Yuck! I have not tried connecting my hard drive to another Mac yet.
    The drives being used are #1 Maxtor Maxline Plus II 250GB SATA/150 HDD 1.5b/s 7Y250m00654ra
    and #2 Western Digital WD7500AACS WD Caviar GP Green Power drive.
    I have another post similar to this and I have not received any feedback, but I have been doing my own searching and have found similar posts on the net.
    Anybody have any clue what might be going on here? It really seems to be related to my upgrade.

  • Text Input/Output

    I have downloaded the text input/output widget found here:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1253 021
    I inserted the input animation on one slide and the output
    animation on another.
    When I preview, the input box doesn't show up. What am I
    doing wrong?
    Thanks in advance for help or advice!

    Hi there
    Likely you are using Captivate 3 and you have upgraded your
    Flash Player to version 10.
    Click
    here to read a thread where I believe one of he Adobe Captivate
    team sheds a bit of light on the issue
    Click here for an Article
    and link for uninstalling Flash Player/Plug In:
    Click here for an Article
    and link for installing and older version of the Flash Player/Plug
    In:
    Version 9 should allow things to work okay with Captivate 3
    Cheers... Rick

  • I am in mavericks disk utility recovery mode as my mac book will not boot up & stays only on the grey apple screen. When I verify the disk I get open error5 :input /output error on Syst stuck on 1 minute pouring out over 50 error messages & still counting

    I am in Mavericks disk utility recovery mode as my mac book pro will not boot up & stays on the Apple grey screen . When I verify disk permissions I get
    Open error 5:"input/ output error" on syst with over 50 of this messages & still counting . Disk Utility says 1 minute
    But this has been going on for over 10 mins .
    I can not verify disk or repair disk .
    I have tried to reinstall mavericks operating system but it says my hard drive is locked which is very strange .
    Does anyone know what is going on here ?
    My system looks like it has been totally corrupted . Thanks Andrew

    Could be. The "lock" isn't actually looking for a password.
    WARNING: This will completely erase the ENTIRE hard drive.
    What you would need to do is boot to recovery > disk utility > select the MAIN drive on the left side > partition > change partition layout from CURRENT to 1 PARTITION > ensure on the right side it says Format : Mac OSX Extended (Journaled) then push APPLY.
    Then if it will allow us, close the windows until you see the 4 options popup again and select "Reinstall Mac OS X" select the Mac HD and you should be good to go!

  • I am trying to run my electric guitar in garageband 11 but there is no options to modify the inputs/outputs to built

    There is no option to modify the sound input/output to built-in input or built-in output.  I'm guessing the electric guitar is not being registered.  I am using a 1/8" mono -1/4" mono cable to go directly from the output jack on my electric to the headphone jack on a macbook pro.  How can I get this to work?

    When you use an external device for input, GB often automatically selects that same device for output. It's an ease-of-use feature for most external devices. If your device doesn't give you the option to output to speakers/headphones, you don't want GB to do that.
    Within GB, go to GB>Preferences, Select the Audio/Midi tab. In the Drop-down under output, choose "Built-in Output" and connect your external speakers/headphones to the Mac's headphone port (Alternately, you could use system preferences to direct your Mac's audio-output to your speakers and select "System Setting" in GB Prefs. The Mac's own speakers aren't going to be nearly as much fun as running it to your big speakers/headphones).
    Hope that makes sense...

  • How to get center alignment of Input/Output field in Module Pool

    Hi Friends,
    I am using Input/Output field in my Module pool program. Dynamically i am submitting the text to Input/Output field. What i want is i want to display the submitted text as center. By default It is displaying left aligned.
    Thank U in advance.
    Mahender.

    Hi,
    Use syntax "Centered".
    take one variable push into the field
    write w_variable1 to w_variable2 centered.
    next push the varaible to Destination screen input/output Field .
    Make sure the Field the Character Type.
    Prabhud@s

  • How to check current input/output rate on router subintenterface via SNMP?

    How to check current input/output rate on router (2821, etc..) subintenterface via SNMP, like cacti monitoring system.
    I cant find OID to make this with snmpwalk.
    Or there is no way to check current load by this way? Only polling?
    P.S. Ethernet subinterface, of course.
    With great respect, S.A.

    Hi,
    Try to use:
    1.3.6.1.4.1.9.2.2.1.1.6 - InBitRate
    1.3.6.1.4.1.9.2.2.1.1.8 - OutBitRate
    1.3.6.1.4.1.9.2.2.1.1.28 - ifDescription

  • Disc image input/output error

    When burning a disc image using disc utility, I get the ever so popular input/output error message. I cannot find anywhere on these posts a solution to this problem. It is not dirty discs, etc. It happens when I try to copy dvd's... which are not licensed, etc.

    Could be so many things, Input/Output errors are generally loosing contact with a device for a variety of reasons, do you get any error # with that?
    Open Console in Utilities & watch for more info whn you try to burn, or open the Disk Utility Log if there.

  • "input/output error' when making disc image from DVD

    I've had problems installing Logic, and a Pro Apps Genius at Applecare suggested I try making an image of the problematic DVD (Audio Content 1) and then trying an install that way.
    While I can make an image of the Install disc to my desktop fine, the Audio Content 1 disc reports an "input/output error".
    This means I'm unable to copy the disc and then successfully install my Logic Studio.
    Any ideas?

    Thanks for your answer.
    Yes, I thought that might be the case - but I'd taken my Mac and Logic disks to a Genius bar, and the 'Genius' had said he'd fixed the issue. I just wish he'd explained what he did and why he didn't replace the faulty disk(s)!
    But is there any way around having the claim a disk, now I'm living abroad and my 'warrantee' has run out? It's going to be a pain in the fundament trying to claim a replacement set.

  • How to set input/output "use" attribute in the WSDL file of BPEL process?

    Hello,
    I have a BPEL process that I want to deploy it as an RPC web service. I want to access it from a Java module (via an automatic generated Java stub from the WSDL file exposed by the BPEL process).
    I wrote manually the corresponding WSDL file for my BPEL process, where I stipulated for the operations exposed by my process ( in <soap:binding> tag) the value of the attribute "style" to "rpc". Also, for each <input> and <output> of the operations (inside the <operation> tag), I set manually the attributes "use" to the values "encoded". Something like this:
    <operation name="getCustomers">
    <soap:operation style="rpc" soapAction="getCustomers"/>
    <input>
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="Trial"/>
    </input>
    <output>
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="Trial"/>
    </output>
    </operation>
    The issue is that, when the BPEL process is built and deployed, the WSDL file generated automatically by BPEL (based on the one manually writen) set the values of the "use" attributes to "literal". This is what is generated:
    <operation name="getCustomers">
    <soap:operation style="rpc" soapAction="getCustomers" />
    <input>
    <soap:body use="literal" namespace="http://acm.org/samples" />
    </input>
    <output>
    <soap:body use="literal" namespace="http://acm.org/samples" />
    </output>
    </operation>
    Is there any chance to keep the original values (written by hand) for the "use attributes?
    Many thanks in advance!
    Regards,
    Marinel

    I am not sure I understand your question. If you want all your BPEL service to be rpc still by default, you can change the templates: C:\eclipse\plugins\bpelz_0.9.XXX\templates.
    The BPEL PM engine support both style of invocation.
    I hope this helps. -Edwin

  • Input/output error when copying a DVD

    I created A DVD some time ago using Roxio.  It plays in DVD Player on my Mac Pro, but I can't create a .dmg using Disk Utility.  I always get "Input/Output error".  I got the same result on my wife's newer Apple. I tried to Restore it but can't, and Verification shows no problems that I can see.  I am able to copy DVDs created on Final Cut Express just fine.  Any suggestions to help me create copies of an old DVD I love?

    I just figured out how to get around the problem.  Download Burn and use it to burn the VIDEO_TS file to a new disk.  It must be something that Apple adds to make it hard to copy DVDs made from non-Apple software.

  • I'm trying to backup a my harddrive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen

    I'm trying to backup a my hard drive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen and spinning wheel. I've tried everything https://discussions.apple.com/message/20580424#20580424
    any help will be greatly appreciated.

    Check here. Also have you done a TimeMachine back up?
    http://support.apple.com/kb/TS2570

Maybe you are looking for

  • Bulk insert security

    I have an SSIS package on server A which calls a stored procedure on server B.  The stored procedure runs the bulk insert command to load an XML file.  The service account which SQL Server Services is running under on server A is a sysadmin on Server

  • What is the best way to track a stolen ipod touch 4th generation if the locations services are off

    What is the best way to tracker a stolen ipod touch 4th generation it the locations services are off

  • Is it a bug in N73ME New FW?

    After try a lot to get it done correctly with N73ME FW 4.0727.2.2.1. It still does not work like the old FW. All autostart applications messed up. I tried every which way; including re-install FW twice also all my software twice. I can not solve the

  • Enjoy transaction MIGO

    Hi, In enjoy transaction MIGO, I want to execute Return delivery w.r.t. Purchase order. At present I have two options material document and delivery note. In customization for inventory management under setting for enjoy transaction and setting for t

  • Remove Substring Occurrences in String

    I have a stirng in PL/SQL "first text {a-start} first body {a-end} test1 {b-start} secondy body {b-end} test2 {c-start} third body {c-end} end text" a) here {a-start},{a-end},etc.. are fixed values and these can be repeated Declare ret_val number (10