Regarding Script

Hi ,
I have a form (script) called ZZ_S_SD_ORD_CONF.
This comes under Sales Order(RVORDER01).
And there is a window called as REFNUMB in form Layout ZZ_S_SD_ORD_CONF, As soon as I click on this window and select Text Elements. It  gave Run Time Error. It is saying that there is a problem in Standard Program SAPLSTTXK.
We were given a Standard Script Form that is  Z_SALES_BILLING .
Even with this Form (Z_SALES_BILLING) also (is standard for us), the same problem has occured.
I only have tried to  view the data, then it gave an error.
I want to see what is available in that window, but I am unable to view it.
I am unable to send the screen shot of it.
problem is at line 1049.
so i am sending the error text which has occured.please don't mind.
Kindly solve this problem.
Runtime Errors         TABLE_INVALID_INDEX
Date and Time          01/15/2008 06:58:58
ShrtText
     Error in ABAP statement when processing an internal table.
What happened?
     Error in ABAP application program.
     The current ABAP program "SAPLSTXK" had to be terminated because one of the
     statements could not be executed.
     This is probably due to an error in the ABAP program.
Error analysis
     When changing or deleting one or more lines of the internal table
     "\FUNCTION-POOL=STXK\DATA=ITF_STRING[]" or when inserting in the table
      "\FUNCTION-POOL=STXK\DATA=ITF_STRING[]", 0 was used as
     the line index. An index less than or equal to zero is not
     allowed.
     The error can occur when using the following options:
     1. "INDEX idx" for specifying the line number in the table
      "\FUNCTION-POOL=STXK\DATA=ITF_STRING[]"
        where you want to change, insert or delete.
     2. "FROM idx" for specifying the start index when deleting a line
       area from or inserting a line area into the table
     "\FUNCTION-POOL=STXK\DATA=ITF_STRING[]".
    3. "TO idx" for specifying the end index when deleting a line
       area from or inserting a line area into the table
     "\FUNCTION-POOL=STXK\DATA=ITF_STRING[]".
    When the program terminated, the table had 0 lines.
Trigger Location of Runtime Error
    Program                                 SAPLSTXK
    Include                                 LSTXKFRN
    Row                                     1,050
    Module type                             (FORM)
    Module Name                             RESET_RTF_STYLE_NEW
Source Code Extract
Line  SourceCde
1020   ENDIF.
1021
1022 ENDFORM.                    " SET_RTF_STYLE_NEW
1023
1024 &----
1025 *&      Form  TOKEN_CTAG_END
1026 &----
1027 *       finish character tag
1028 ----
1029 *      <->P_TOKEN  actual token                                        *
1030 ----
1031 FORM token_ctag_end CHANGING p_token TYPE itf_token.
1032
1033   CHECK p_token-code = c_token_ctag_end.
1034   PERFORM reset_rtf_style_new.
1035
1036 ENDFORM.                    " TOKEN_CTAG_END
1037
1038 &----
1039 *&      Form  RESET_RTF_STYLE_NEW
1040 &----
1041 *       new version of reset_rtf_style
1042 ----
1043 FORM reset_rtf_style_new.
1044   DATA: l_len      TYPE i,
1045         l_size     TYPE i.
1046
1047   READ TABLE itf_string INDEX itf_stack.
1048   READ TABLE itf_sstyle WITH KEY tdstring = itf_string. "BINARY SEARCH.
1049   IF sy-subrc > 0.
> > > > >     DELETE itf_string INDEX itf_stack.
1051     SUBTRACT 1 FROM itf_stack.
1052     EXIT.
1053   ENDIF.
1054
1055   IF protspace = true.
1056     DESCRIBE TABLE itf_protect LINES l
1057     READ TABLE itf_protect INDEX l_siz
1058     READ TABLE itf_string INDEX itf_st
1059     IF itf_protect = itf_string.
1060       protspace = false.
1061     ENDIF.
1062   ENDIF.
1063
1064   token_control = true.
1065
1066 * if ssheet = 'ONLINE_HELP.DOT' and
1067 *   ( itf_string = 'DS' or itf_string
1068 *   ind_hyperlink = true.
1069 *   ind_hyperlink = false.
Thanks,
Vinod.

As per error text, the error is in line,
READ TABLE itf_sstyle WITH KEY tdstring = itf_string. "BINARY SEARCH.
Internal table itf_string didnot contain any lines. Debug the program or just manually pass the index value 1 for reading the internal table to find the error.

Similar Messages

  • Regarding scripting in adobe HCM process and forms

    Hi Gurus,
    I am working on adobe HCM process and forms. Configuration has been done for HCM process and forms and I am getting the scenario stage level in the forms based on which I will give the visibilty to differenct levels of approvals in the form.Scripting has been done for that.
    When form is initially loaded, I am making invisible some of the fields. On choosing the drop down the value that I make invisible is visible again. I found that Scenario stage that I bound to the form attribute is getting cleared off, when drop down event is called. Drop down event calls the generic services to fill the drop down values. Drop down used is from ISR Controls from the library.
    The scripting that I used in the drop down event is as belows
    if (xfa.form.data.Page1.FORM_SCN.rawValue == "INIMGR_LVL1")
      xfa.form.data.Page1.DE.DEContent.HR_VIEW.presence = "invisible";
    xfa.form.data.Page1.FORM_SCN.rawValue  this is getting cleared off. Form SCN is the field in the form where in which I bound the attribute scenario stage.
    Pls help me on this.
    Regards,
    Krishnan  Paramasivan

    Solomon,
    Thanks for the earliest response. can you explain me in detail. Where to check/select the form scenario stage field to be passed over. In scripting the coding written as below:
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "DD_GET_POSITION";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    DD_GET_POSITION is the event created in generic services and used in the user events in the form scenario stage in HRASR_DT.
    Any further guidance on this ?
    Thanks in advance.
    Regards,
    Krishnan

  • Regards:Scripts

    hi i am david,
    1, scripts are client dependent & smart forms are client indipendent....WHY?.
    2.what is R/3 architecture?
    3.what is diffarent between reports and ALV?
    4.what is R/3 flow?
    5.how to debugg scripts?
    6.what si Index and where it is using?
    7.what is diffarent between transparent table and pool table, cluster table?
    8.Scripts are supports to mailling,why and How?
    Regards,
    David raju.

    Hi David,
    1.If you create a table in 010 client in DEV server with CLNT as its first fields type, then you will find that table structure in all clients in DEV server. (i.e client independent)
    example: function module, abap program, smart form.
    If you create a record in that table in 010 client, you will not find that record in other clients. (i.e client dependent)
    Example: script.
    Sap script was developed a long back.
    smartform is developed to avoid these type of some restrictions
    Also:
    Client dependent Means if you create that data in one client is limited to that client only and it is not accessable in other clients
    Like SAP SCRIPTS and STD texts data
    where as Client Independent means the data if you create in one client that is available in that as well as in other clients
    Like SMARTFORMS, All dictionary Objects data and Repository objects data like Programs, Fun modules, tables etc..
    There is no specific reason behind why scripts are client dep[endent and smartforms are client independent!!!
    As for SAP -- Scripts are called client dependent because if you create client in say,200 it would be available in that only.If you want to test the script in client 300 then it won't be there,you will have to go to transaction se71 in 300 .Then Utilities-> Copy from client.Give the source as 200 & form name(i.e. script name) & copy.
    Few more reasons why....? Please read below:
    SAPscript technology is based on a mainframe product from the 1980s.SAPscript forms have always been -- under the hood -- relatively passive objects, with minimal embedded logic. These forms were designed to be driven and controlled by ABAP programs, much in the way ABAP programs read in database tables to produce reports;
    if you ever download a SAPscript form (e.g., via utility program RSTXSCRP), and look at the portable text file it produces you'll see what I mean.
    Many text objects (e.g., invoice header texts) are bound directly to documents which are client-dependent, so it makes sense for these text objects to also be client-dependent. From a complexity standpoint, SAPscript forms are close enough to these text objects where I can see how it made sense at the time to make them client-dependent too.
    MANDT is the field which differenciates the table from Client Dependent and Client Independent Tables.
    All the Scripts are Client Dependent Objects
    Smart Forms, Function Modules are Client Independent Objects.
    2.SAP R/3 system is to provide a suite of tightly integrated, large scale business applications. Following are the standard set of applications or functional module in R/3 system:
    Please check these links
    http://www.ryerson.ca/~ppille/sap/Resources/EnterpriseResourcePlanningSAP2.htm
    http://www.sapfans.com/sapfans/sapr3con.htm
    3. There are 2 type of reports. They are:
    Interactive report
    Classic reports
    In classic reports,we can see the output in single list where as in interactive reports we can see the output in multiple list.
    Classical Reports
    These are the most simple reports. Programmers learn this one first. It is just an output of data using the Write statement inside a loop.
    Classical reports are normal reports. These reports are not having any sub reports. IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT.
    Events In Classical Reports.
    INTIALIZATION: This event triggers before selection screen display.
    AT-SELECTION-SCREEN: This event triggers after proccesing user input still selection screen is in active mode.
    START OF SELECTION: Start of selection screen triggers after proceesing selection screen.
    END-OF-SELECTION : It is for Logical Database Reporting.
    [Edit section]
    Interactive Reports
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
    And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
    Events associated with Interactive Reports are:
    AT LINE-SELECTION
    AT USER-COMMAND
    AT PF<key>
    TOP-OF-PAGE DURING LINE-SELECTION.
    HIDE statement holds the data to be displayed in the secondary list.
    sy-lisel : contains data of the selected line.
    sy-lsind : contains the level of report (from 0 to 21)
    Interactive Report Events:
    AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
    AT PFn: For predefined function keys...
    AT USER-COMMAND : It provides user functions keys.
    TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.
    5. Debugging of Scripts 
    This can done in two ways:
    In the form Utilities->debugger / RSTXDBUG FM for debugging script
    The Procedure for debugging SAP script is:
    Generally SAP script contains the Layout and corresponding print program.
    First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.
    Now go to SE 38 and enter ur Print Program name and execute the program.
    Now you can debug the script Page wise and window wise.
    6.Indexes speed up access to rows in a table. They can be created for a single column or for a series of columns. When defining indexes, you specify whether the indexed column values in the different rows must be unique or not.
    Please check this link
    http://www.sapdb.org/7.4/htmhelp/48/8af59ea54f11d2a97100a0c9449261/content.htm
    7. Transparent Table :  Exists with the same structure both in dictionary as well as in database  exactly with the same data and fields.
    Pooled Table : Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data.  Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.
    Cluster Table :  Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data.  They can also be used to store temporary data or texts, such as documentation.
    reward if helpful
    raam

  • REGARDING SCRIPTS.... CAN ANY ONE GIVE THE SOLUTION FOR THIS

    I have copied the standard script ML_SERVICE_ENTRY to ZFORM.... in tcode se71 but it has its original lang. - DE and lang - EN , if i get into this ZFORM ...
    in change mode,  the creation of windows, windows allignment and convert original lang. are in disabled mode , here i have to change the window size to add some text , is there any other method to change the language and to get these things in
    enable mode. plz give some solution for this one.

    Hi Mohan,
    While copying itself U have to give the Language in which U want to maintain, else U are supposed login in with the original Language only.
    Regards,
    Mohan
    *Reward if helpful*

  • Regarding script layout

    Hi Friends, very urgent , plz help me..
    How to use greater than command in sap script layout. I Need to check like this: IF &SAPSCRIPT-COUNTER_1& > 10.
    But if i used the same its not working.
    Regrads,
    Venkat.

    HI venkat,
        First switch on the sap script debugger in SE71 utilities>activate debugger and then check what value is getting populated in SAPSCRIPT-COUNTER_1. Based on the value you can change the condition. Try using GT instead but it is same as > symbol.
    Regards,
    Kalyan.

  • Plz help me regarding scripting in adobe forms..urgent

    Hi all,
    I have the requirement to print <b>subtotal for each page in the layout</b>.Please tell me how to do the scripting  to find out subtotal in the form object.
    and also i want to know how to refer each field in the hierarchy .
    i would be greatful if you help me

    In that thread,... gareth.roberts say to modify the trigger definition to the column. Actually i am new to oracle >alert. How do i get that trigger definition and from where i have to get. and how to modify the trigger definition . >
    plz...Need not to say like that, I am just trying to help you. I believe if you are new try to read and understand the documents and process. Please start with Oracle Alert User's Guide to create a alert and send notification.
    I do not have any ready made scenario, I can refer you the documents to do the same,
    [How to Create a Basic Trigger|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=119667.1]
    [RDBPROD: How to Create an Update Trigger Which Depends on Any Other Field|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=68037.1]
    To view the Trigger Information you can use TOAD and modify the same as per your need.
    Thanks,
    Anchorage :)

  • Regarding scripts

    hi,
         can anyone help me how to make use of tableformat in scripts.
         A box should consists of 2 rows  and 3 columns and these columns are in different windows.
         plz help me.
         thanx
         neelima.

    There is no pre-defined element for table as such in scripts. You have to create it (programatically) using the 'box' statement.
    Refer to the help docu for the syntax.
    Remember to reward points to the replies that answered your question.

  • Question regarding scripts

    Hi,
    I have scripts for Address Book. In which file should I put them in order to see those scripts in my applescript menu?
    Thanks a lot.
    Manuel.

    Manuel,
    You can place them in your Macintosh HD/Library/Scripts/Address Book Scripts Folder.
    ;~)

  • Information required regarding scripts in specific runlevel

    Hi,
    bash-2.05$ pwd
    /etc/rc2.d
    -rwxr--r-- 5 root sys 12655 Sep 26 2007 S69inet
    In the above script (S69inet), 'S' indicates that this script is used to start the service. what '69' means?
    Thanks,
    Ram.

    ram-nagaraj wrote:
    If that's the scenario, why we are using same identifier for different scripts.
    e.g:
    S99ElxDiscSrv
    S99ElxRMSrv
    S99FJSVlogadm
    S99FJSVpmrm
    S99FJSVwarnWhy not? So they all run after most of the rest of the system is up.
    Here '99' is the identifier utilized by various startup scripts.Yup. I do that as well.
    Is there any other reason by having this identifier to identify the scripts?Yes, it makes sure it runs after the ones with 98 (and 97, and 96, ...)
    Darren

  • Question regarding scripting OS install + applications

    I'm getting the hang of SCCM now and I thank you all who have helped greatly answering my (many) questions here.   It is really appreciated.
    One of my next questions is - can I create a task sequence that  installs both OS and applications all in a single shot?   So I can basically click one button and provision a PC from start to finish - with OS, applications and everything in one
    shot?
    Thanks
    Nathan

    Yes, you can. That's the whole idea of a task sequence.
    For some nice step-by-step guides, see:
    http://www.windows-noob.com/forums/index.php?/topic/4045-system-center-2012-configuration-manager-guides/
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Re: scripts

    Hi,
        I facing one problem regarding scripts. I have used one main window, in that i have to populate notification number and date.  Then by using that notification number i have to read the concerned long text  and i have to populate that in this main window.
    i have written code like this
    loop at it_qmel.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'ELE'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'.
    IMPORTING
      PENDING_LINES                  =
    ***by using this it_qmel-qmnum i retrived the long text
                 LOOP AT LTEXT.
                 CALL FUNCTION 'WRITE_FORM'
                 EXPORTING
                 ELEMENT                        = 'ELE1'
                 FUNCTION                       = 'APPEND'
                 TYPE                           = 'BODY'
                 WINDOW                         = 'MAIN'.
                 ENDLOOP.
    CLEAR: LTEXT[].
    endloop.
    rgds
    p.kp

    Hi Paluri,
    1. what i understood  is that
       u are not getting in output
       the lines of long text.
    2. in ur sapscript u must have
       defined one element
       and one line for the long text variables
    eg. <EXT&.
      thats perfectly ok.
    3. Now in ur code,
       U must loop : (which u are already doing, perfectly fine)
    But why have u cleared using
      CLEAR: LTEXT[].
      That line is not required.
    4. My point is that after getting long text
       in an internal table.
      Loop at LTEXT.
      CALL FUNCTION 'WRITE_FORM'
      Endloop.
    Just do the above logic (with full & proper syntax)
    It will solve ur purpose.
    Hope it helps.
    regards,
    amit m.
    Message was edited by: Amit Mittal

  • I "stopped scripting" at Unresponsive Script error in Thunderbird now I cannot access the last year of emails.

    Thunderbird prompted me with a pop up window regarding "scripting". When I stopped the script and Thunderbird restarted I was unable to access the last year of my emails up to the date that I stopped the script. Emails from 2013 were archived, unfortunately I hadn't gotten to 2014. I can still see the emails when I conduct a global search, and I found the profile folder on my hard drive but cannot figure out how to reload them into Thunderbird. I would like to access them in my inbox and archive them properly. Please let me know if there is a fix for this, I don't understand most of the entries in the forum as they are written for someone with a higher level of technical expertise than I possess.

    LSamuels, what antivirus software do you use? And have you gotten back your missing emails yet?

  • Scripting in ADOBE forms

    Hi,
    I need information regarding scripting in adobe forms.
    please help me out.
    Thanks And Regards
    Shruti

    Hi,
    for hiding the fields go thru this link.........
    Adobe Form Fields Visibility
    Regards,

  • Need help:Scripting on windows and Sql Loader

    Hi
    I need some help regarding script work on windows machines i.e., how to write a script,the file extension,how to run the script etc,how to schedule it...
    I also need the doc regarding sql loader(complete details.....)
    Thanks in advance...
    bye

    The sqlldr utility is fully documented in the Oracle version# Utilities manual for your version of Oracle. You can find the documentation sets here on OTN for download or you can use the online versions at http://tahiti.oracle.com
    There is a product called Script Works and it is documented by the vendor. Otherwise the details depend on the scripting language/tool you use: DOS, Perl, etc....
    HTH -- Mark D Powell --

  • So I want to create my own IRC client...

    I've wanted to make my own IRC client for a long time now. As soon as I switched from winfailure a few months ago (I think nearly a year now! ), actually.
    As time went by I've slowly, begrudgingly gotten used to irssi, but with gritted teeth all the same. On winfailure, I used HydraIRC, and while this application was quite good, its supposedly open source license wasn't free as in free speech, only as in free beer. So while the code was open, it was only opened such that the code couldn't be used in other projects. Stab.
    Anyway, I used this client for the better part of a year, and while it lacked quite a few things that would have probably turned others away like the complete lack of a scripting engine, it did what I wanted pretty well, and set an operational standard, if you will, that I got used to and have not found anywhere else. Yet.
    So I want to recreate the standard I picked up on but for POSIX platforms (except for cygwin), and introduce some features of my own too. I simply don't know where to start, however.
    Note that the subject says "create", not "write" - after asking around a bit in IRC ##linux recommended I try taking two IRC clients that have the features I want and merging their codebases. I've never done something like this before but I think it'd probably be fairly interesting, if not trying.
    So, I'll list the features I'm looking for, and perhaps you can give me some suggestions on 1) how I'd either implement this myself or 2) a client with X feature already coded in. Thanks.
    The features I'm looking for:
    - Code Simplicity: This is the most important, to me, in the case of using others' code. Complex code (just look at rxvt if you want complex code) will just confuse and down-hearten me and make me run away.
    - A network-oriented model: I want a client with a daemon, or server, that connects to my networks and performs most "heavyweight" takes, and a client, which just handles display. Quassel does this to an extent but is horribly underdeveloped and I don't have a system powerful enough to handle running Qt on a long-term basis (since I already tend to use GTK apps). I also don't know C++.
    - Multiple clients: This is the second most important. I really need this one. I want to be able to have a "main" client that can connect to the server and manage general tasks, and a "light" text-based, console-driven client that connects and can be run over ssh, for example. Quassel completely falls apart here because it uses KDE's network-IPC libraries to transfer data from the server to the client, which a quick check with Wireshark showed to be binary. And I wouldn't want my "lite" client to require KDE, or at least KDE's libraries - that'd just be majorly weird.
    - Speed: I want the client to be fast and responsive at all times, even on slower systems, and even when I'm connected to a lot of channels.
    - Scriptability: It doesn't need to be complex, like Perl's library that applications can bind in. That's overmuch IMHO and, most importantly, slow.
    I don't think one particular client meets those needs, but a few of you will probably shout "xchat!" Well, X-Chat is... not my thing. If irssi could be considered very far away from HydraIRC in terms of operation, X-Chat is the same distance away twice over. It doesn't operate the same way at all.
    So, now that I've loosely explained the features I want, let me now explain another thing I want to be able to do.
    Despite having hardware in dire need of upgrading right now (these systems aren't nearly that bad, but Firefox tends to eat my 512MB of RAM up pretty quickly, and I recently found all the PCs this house has in it 99% likely can't use DDR2 RAM, which isn't too good), I hope and believe that one day I'll upgrade to considerably better equipment with extensive graphics support. With this newer hardware I hope to create a new kind of UI model with animation integrated into the look-and-feel model of the UI the same way images are used for the same purpose today, GPLv3 license it so corporations can't steal it and use it in their products, and then bind it into my IRC client.
    However, I want to start now, before I upgrade. With this in mind, I don't know whether I should make my own GUI toolkit, or use an existing toolkit now and rewrite half the codebase later to support my own graphics and animations. I'm not very good at making things that are programmatically extensible and flexible, so I don't really know what to do here. Simple hand-rolled toolkits such as dialogs with some text and a button can be managed in under ~250 lines of code, but anything bigger, and, well... you get stuff like GTK and KDE, whose toolkit libraries in total are both on the order of over a couple of MBs each, and have been in development for years, and continue to evolve rapidly today. If you're careful, you end up with FLTK, which I don't like the look of at all.
    In addition to that, I want my client to be fast, even on slower computers. Right now, I have a 3-screen setup, with each screen being driven by a separate PC. The one on the right - the one I'd be putting my IRC client on - is a 450MHz P3 with 320MB of RAM. It runs X on a 4MB VGA card at 800x600. This is where I currently run an irssi session over ssh and screen. To give you an idea of the graphical power of this machine, antialiased Xft fonts with urxvt take 0.15 seconds to "scroll" when I say something in IRC. However, it's a capable PC if I harness its capability right, and is where I'd target my IRC client. And I dislike seeing my fonts redraw - I dislike seeing anything redraw, for that matter.
    You might think I'm crazy, writing an IRC client for one of the slowest PCs in the house that works, that I in future want to extend to use a graphics layer that I hope to develop on a server-class Nehalem workstation with an insane amount of RAM and a pair of SLI'd GTX 280s in it.
    I don't think I'm crazy. I'm using what I have to give back to the open source community, and using what I consider to be an cunning operational model to do it: back when the 450MHz P3 I spoke of was the only "main" working PC I had, I designed, in none other than Visual Basic 1.0, a media center UI. On Windows 98. In 2006. And, you know what, despite the fact that the animations it used were pretty basic, it actually looked really, really good. And why was this? Because I used software designed for 486DX2s running at 33MHz with 4 or 6MB of RAM, on a P3, with 128MB of RAM (yes, I've upgraded it since), clocked at 450MHz. The result? Blinding, optimized, speed. You really should try the older versions of VB sometime - I managed to score a copy of VB 2.0 which is legal to distribute because its "Make EXE" (ie compile) function is crippled. Email me and I'll mail you a copy - it's completely legal.
    In the same manner, if I design this IRC client and carefully construct it so its client/server model works capably on my two PCs, my server (a machine not unlike the P3 I've been discussing - my server just has more hard disks in it, a 50MHz faster processor, runs my left-hand display and my IRC network) and my old desktop (the 450MHz box I've mentioned so much), when I finally bring it over to my new computer it'll be so fast that it'll be as if the computer is registering keypresses before I even type them. And that's the kind of performance I want to couple with shinyyy graphics.
    Sorry this sounded halfway between a motivational speech, a request for help, and a coder's dilemma. lol
    -dav7

    Bit of an update: Varreon emailed me regarding VB 2.0 and we had a bit of a discussion regarding the language I planned to use.
    He said it would be fine to post our conversation, so here's how it panned out:
    Varreon wrote:...What language were you planning on writing your client in? I've written an irc bot in c++, and I'll upload my source code if you're interested in looking through it.
    dav7 wrote:
    Well, I'm not all that sure what language I want to use just yet.
    I know I want it to be extensible, so I could either use a high-level, extensible but slow scripting language to power the client as a whole, or I could go down a path already travelled, proved extremely successful and in my opinion cleaner, and embed a scripting language, which would negate the requirement for a high-level language but still facilitate customization.
    All the same, I'm not really all that sure what language to use.
    C++ isn't really my thing - on my current computers, g++ takes maybe 3 seconds to compile the smallest of source files, and while that isn't *really * all that long, I'm not all that patient. As it stands I consider /gcc/ too slow for my preferences and use tcc instead - you might like to try it if you're on a 32-bit system.
    I'll probably move to C++ when I get a new PC, but for now, all I really find fast enough for my liking is C, and I'm a little concerned that C might be a little too low-level for what I want to design here - beyond scriptability, I want the client itself to be easily extended in various directions. Of course the client will only appeal to a specific market (in an open source sense), but I do want it to feel organic and something that can be extended in as many directions as possible. So C probably won't be the language I use, and since C++ is slow to compile, it's probably going to be off the list as well.
    All the same, I'm not concerned about speed in the irrational way I have been in the past, but at the same time I do need to be careful in my thinking regardless of the language I use since don't want a client that lags to death. A good example of a slow program is SciTE - the text editor I'm typing this in, Geany, uses the same edit control it uses (Scintilla, which is written in C++, AFAIK), and while this component has a good degree of editorial control, scrolling with the scroll wheel can be slow. Also, when I recently tried to run SciTE on an old laptop I found on the side of the road (AMD K-6, 350MHz, 32MB RAM), I discovered that just *typing* would lag the system horribly - typing about 15 keystrokes quickly resulted in a lag of about 6 seconds after which what I typed would appear all at once. Typing single keys - slowly - resulted in a delay of around 0.20-0.39ms (guessed).
    Regarding scripting, I had my eyes on one embeddable language in particular but I forgot what it was called, so I headed to Wikipedia for a quick hunt-down session for it and managed to discover Falcon, which appears to use a VM but is at the same time the same insanely fast because it uses a C/C++-only policy for its modules. It also advertises itself as a scripting engine "ready to empower mission-critical multithreaded applications" so I'm considering Falcon to be a possible engine to integrate, and on a slightly long shot, even the language I might end up using. I also think hunting the first language I considered down and embedding that might be a nice idea, and I also might embed Perl. I'd love to be able to embed Ruby.
    Overall however, I do need to contain my enthusiasm - the desire to throw in multiple scripting engines, awe-inspiring compositing graphics layers, and support for multiple protocols isn't such a bad idea, but if not controlled will result in serious featuritis, which when combined with a verbose, low-level language will only result in me throwing myself at the project too hard "to get it done", with proven disastrous results.
    -dav7
    [ Note, there's an update in a follow-up post below this one that affects the information you see here - just so you know ]
    I've done some consideration since that email and it's possible that C++ might be able to be brought onto the table. This was mostly inspired by the good outcome I had with writing a couple of modules for InspIRCd, which uses C++, compared to my previous attempt when I knew no C.
    The main thing I'm a little indecisive about at the moment is the toolkit; I want something that's fast but doesn't look all that bad; FLTK is, as I've said previously, not something I like the look of - it does appear to be somewhat themable but it's impossible to escape the fact that it values speed over shininess, and while this is excellent for my current target, I don't want to develop something that relies on it so heavily that it's next to impossible to port to whatever I end up using when it's time to get the graphics in, such as a UI model on top of an OpenGL canvas.
    The second thing I'm unsure of is what scripting language I should use. I've done quite a bit of looking around - mostly to try and find that language I mentioned that I lost - and found quite a lot of possibilities, and even discovered that with some work (well, a lot of work, admittedly) it's even possible to embed Ruby into C++, and have Ruby call user-defined C++ functions and so on. It's not an official part of the project, but someone managed it nonetheless.
    It seems to be possible to embed popular languages such as Perl, Python, Tcl, Lua, etc, but then there are lesser-known languages designed for embedding, such as Nesla, AngelScript and the like (such as that language I can't find, heh). And of course I could also embed a JavaScript engine, which would probably be very odd but all the same quite an experience.
    Then there's Falcon, which appears to be a pretty good language in general but doesn't appear to have all that many modules available for it just yet, so doesn't seem to suit my purposes.
    So, summing up:
    - I don't know how I should develop this in terms of graphics - should I wait for a new PC and just use SDL or whatever I'm going to use, use a toolkit and either rewrite half of everything at some other point or juggle two display methods, or what?
    - The number of scripting languages out there is mind-boggling. To me, it's not what syntax the language uses, or whether it's statically or dynamically typed, or how readable it is, it's #1 how fast it is, and #2 how suitable it would be in the context of an IRC client - string manipulation (even on every incoming and/or outgoing message), user interface control, and so on.
    -dav7
    Last edited by dav7 (2009-02-16 09:25:49)

Maybe you are looking for

  • Mail files on server and webmail view don't match

    Hi there, First-time poster... sorry if this has been addressed ad infinitum. We are running Msging Server 6.2-6.01 (according to 'imsimta version'). I have a problem with a user's account. The account has a mailQuota of 20Mb, of which about 89% is c

  • How to enhance call list to show entire list

    Hi In SAP standard, only calls witihin the maintained calling hours are displayed in web-ui. For example: If the call list is generated for all customers to be called on tuesday, then customer A will show up 9AM if the calling hours are maintained be

  • IPTC extended metadata panel in Bridge CS5

    Hi, hope someone can help me here. I am working in a museum digitizing paintings and using Bridge CS 5 to enter the metadata. IPTC extended is ideal for that, but I can not access the metadata panel to the side. I have found it in the preferences (an

  • Spry Data Set Issue

    Hello, I have written a page using a SpryData  set/Accordion structure. The XML feeds the name of the accordion tab and  its content. The idea is supposed to be that each topic has a potential  for 4 images. If there are fewer than four, no sweat, th

  • What do i do if my email adress is verified, but itunes says it isn't?

    when i try to sign into itunes it says i have to verify my email adress because its not verified yet. when i click ok it goes to a page where it says that my email adress is already verified. whats going on, and can someone please help...