Saving and loading of a meter

Hey everyone, I am currently faced with data backup, I have a counter, then loading what was saved. Right now, I'm just a jump every time cash counter as you jump.

Right now I have:

var JumpCounter: int = 0;

Then, when you jump:

JumpCounter ++;

Output in the text box called JumpBox with:

JumpBox.text = JumpCounter.toString ();

And I want to load and save by using this line of code:

var so: SharedObject = SharedObject.getLocal("myStuff","/");

I don't know how to incorporate that into my code.

Currently, the meter is incremented by jumping and everything, I'm just not sure what the record using so.flush (); and it's not. I have other objects in the backup set and loading fine, I just haven't yet done with a variable. It seems that if a variable would be easier, but I can't put my finger on. If anyone has any ideas, please let me know.

Thanks in advance!

use:

var JumpCounter: int = 0;

var so: SharedObject = SharedObject.getLocal("myStuff","/");

{if (SO. Data.JumpCounter)}

JumpCounter = so.data.JumpCounter;

}

Then, when you jump:

JumpCounter ++;

so.data.JumpCounter = JumpCounter;

so. Flush();

Output in the text box called JumpBox with:

JumpBox.text = JumpCounter.toString ();

Tags: Adobe Animate

Similar Questions

  • Data are skewed between saving and loading

    Hello

    I'll have a problem saving and loading the data in my VI. My software allows the user collect data from an acquisition of data which is then displayed on a graph for them to see. They can save the data, then load it back later to compare with the current data. Here is the basic methodology:

    1. the data are read in the program via a data acquisition

    2. data are saved in a file in spreadsheet to a table with the VI 'save in the spreadsheet file.

    3. the data is loaded to the program with the VI "read the spreadsheet file.

    4. the data are transferred in the same graph is was originally shown on

    However, when I save the data and reload, my chart is slightly distorted. I noticed a few things:

    1. the values of X are a little more for the loaded data vs the same data front to save/load (DECIMAL NUMBERS)

    2. the values of are are not affected. (WHOLE NUMBERS)

    3. the loaded data are more straight lines, which means that the same data point is used for row X or Y values

    attached is a screenshot of the graph - red data is from this session, Green data is loaded.

    export excel to this same graph is attached.

    No one noticed an interesting trend in this anomaly, or have any ideas on what I can check? My code does not change the values, but only manipulates them. Please let me know if you need more information, I've tried including as much as I could without a useless book.

    Thank you

    Joe

    To solve this kind of problem, replace the random number generators with a simple signal that you can easily identify as a linear ramp, the number of iterations or a low frequency sine wave. By selecting a signal that is suitable for your application, you should be able to tell if the data are all be recorded and in the right order.

    The use of nodes property to move data around sounds like a disaster in the making.  Examine the queues, user events, or functional global variables.

    Lynn

  • Saving and loading of specific properties of an Image

    Hey everybody. I am currently developing a game that allows you to customize the color (hue) of your character through a cursor. What I want to happen is: when you click on accept or play, it will record the current hue of the image, return to this page will take care of this standard that has been saved previously (dyed), as well as at the start of the game, it will replace the graphic with the recorded image previously.

    Here is the code I have in this moment that relates to the image with a base not working correctly save and load this code:

    import flash.events.KeyboardEvent;
    
    
    // open a local shared object called "myStuff", if there is no such object - create a new one
    var savedstuff:SharedObject = SharedObject.getLocal("myStuff");
    
    
    Accept.addEventListener(MouseEvent.CLICK, SaveData);
    PlayBTN.addEventListener(MouseEvent.CLICK, LoadData);
    
    
    function SaveData(MouseEvent){
               savedstuff.data.username = Sliders.Dino.MovieClip // changes var username in sharedobject
               savedstuff.flush(); // saves data on hard drive
    }
    
    
    function LoadData(event: MouseEvent) 
    {
               if(savedstuff.size>0){ // checks if there is something saved
               Sliders.Dino.MovieClip = savedstuff.data.username} // change field text to username variable
    }
    
    
    // if something was saved before, show it on start
    if(savedstuff.size>0){
    Sliders.Dino.MovieClip = savedstuff.data.username}
    
    
    

    What I have above is only to save the actual image, which is inside a movie clip names cursors.

    This is the class that I use and which associates the cursor that changes the color of "Dino".

    package 
    {
              import flash.display.Sprite;
              import fl.motion.AdjustColor;
              import flash.filters.ColorMatrixFilter;
              import fl.events.SliderEvent;
      
              public class Main extends Sprite
              {
                        private var color:AdjustColor = new AdjustColor();
                        private var filter:ColorMatrixFilter;
      
                        public function Main():void
                        {
                                  /* Required to create initial Matrix */
      
                                  color.brightness = 0;
                                  color.contrast = 0;
                                  color.hue = 0;
                                  color.saturation = 0;
      
                                  /* Add Listeners function */
      
                                  addListeners();
                        }
      
                        private final function addListeners():void
                        {
                                  colorPanel.hueSL.addEventListener(SliderEvent.CHANGE, adjustHue);
                        }
      
                        private final function adjustHue(e:SliderEvent):void
                        {
                                  color.hue = e.target.value;
                                  update();
                        }
      
                        private final function update():void
                        {
                                  filter = new ColorMatrixFilter(color.CalculateFinalFlatArray());
                                  Dino.filters = [filter];
                        }
              }
    }
    
    

    Overall, what I'm asking is: how to save the current hue of an image by clicking on a button, then having this recorded image be previously loaded on reloading or clicking a button? To me, it doesn't seem it should be too hard, but for some reason that I can't grasp it.

    Thanks in advance for reading this and for any assistance, you have to offer!

    It is not possible to trigger this error message for the line of code that you mentioned and the line above to not trigger an error.

    in any case, use:

    so. Data.Hue = e.target.value;

  • Saving and loading data to the Local computer

    I'm new to Flash/ActionScript, and I'm having a lot of fun to create a project in Flash.

    I'm working on a tracker of character (yes I am totally geeking) an I was wondering how to save the data, I walked into the draft (hit points etc...) and load it back the next time I opened it. The data would be stored on my local computer. How can I get Flash/ActionScript for this?

    Thank you.

    Sorry, I copied your code.

    getLocal(), should be getLocal()

  • Saving and loading of specific orders of façade

    Hello

    I found this example to save the values of front panel control. He used a node invoke with 'Ctrl Val.Get All (not recommended). With a little research, I found that I had to adapt, using the "Ctrl Val.Get All" and by replacing the variant data type. Works of savings (at least, something is saved), but when you try to load the file, nothing works (strangely enough, she has worked with the (outdated) version of the invoke node). So, obviously, I must have done something wrong, but I can't know exactly how I would change the data types. The version that I came with is attached.

    But the main question is this: How do I back up only certain controls? That invoke node records the value of each control, so I think I'll need to use the node 'Get the value', but I don't know how to use it, either. Maybe the problem lies in my first question and I just need to send a string containing all values of control I want, but it's so that you can see where I am going.

    Thank you and have a nice day.

    There is an example that shows the whole process - https://decibel.ni.com/content/docs/DOC-15349

  • Saving and loading of values on a 3rd party ownership of arbitrary data to the plugin?

    Here I am again, asking weird questions.

    I am trying to find a way that I can save and restore values/keyframes on a 3rd party property of the plugin.

    It's easy to do with standard property types as I can just get/set values, but with arbitrary data, I don't see a clear way to do this.

    I can make a preset effect which will restore the correct arbitrary values when applied and use ExecuteScript() to apply the preset.

    But, I prefer a method that does not need to apply a preset, because this solution would require the installation of a special it somethere preset in path predefined AE.

    It is the risk that the user could delete the preset, and then the plugin is broken.


    I thought that maybe I could trick the plugin from 3rd party to give me a copy of the flattened data of arbitrary property by sending PF_Cmd_ARBITRARY_CALLBACK, passes along a custom made PF_ArbParamsExtra with the which_function the PF_Arbitrary_COPY_FUNCvalue.  Now, I have a copy of arbitrary data.  I can use the same trick to get the flat size of data (PF_Arbitrary_FLAT_SIZE_FUNC), flatten the dataset (PF_Arbitrary_FLATTEN_FUNC), and then save the data flattened on the disk in a binary file.

    If it works, I would basically do the opposite to restore data from the disk and apply arbitrary to a new/different instance of will assume it.


    Typing all this, it sounds pretty crazy, and I barely understand the arbitrary data how works.  I'm not even sure I can do the above without things get messy.

    Any ideas on that?  I'm far from base? This is another technique that can do this with techniques less hacky?

    Thank you!

    -Andy

    your assumptions are correct.

    You cannot change add an effect to a layer while your effect is

    ground of appeal.

    It doesn't have the o effect with javascript. It's just, as you say,

    change the scene while working on it.

    How to work around this problem:

    have two plug-ins effect and a CEAP.

    result call the CEAP via a special series (see "order" and)

    samples of "honey" to see how it works) and set some data there.

    do not have the CEAP run changes immediately! store these data only!

    Let the effect finish its execution and return.

    now.

    during the call to idle_hook, the CEAP checks all messages left by the effect.

    new data is present? God. run now that the effect is not in call mi.

    TADA!

    with regard to the getPlatformData,.

    platform commands specific for data such as the path to self

    .dll, but you can just have the effect the data desired in the CEAP

    When it sends the message.

  • Problem saving and loading multiple images in the same file

    Hello

    I am having a problem, I have a thah program creates a fileOutputSteam and a gzipOutputSteam and finally an imageIO wrote several images, then I do the reverse process, a
    FileInputsteam and an inputsteam of gzip, imageIO.read read only image of frist, not the rest.

    Can someone help me?
    PS: Sorry for my bad English, I'm Spanish

    Code:
    class Lector {
    
        // Atributos
        private String ruta;
        private static Collection<Imagen> imagenes;
    
        /**
         * Clase que carga un fichero .zip lleno de imagenes
         * @param ruta: ruta donde se halla el fichero .zip a cargar
         */
        public Lector(String ruta) {
        }
        /**
         * Constructor sin parametros
         */
        public Lector() {
        }
        /**
         * Metodo que setea el archivo que queremos cargar
         * @param ruta: Ruta del fichero a cargar
         */
        public void setArchivo(String ruta) {
            this.ruta = ruta;
            imagenes = new ArrayList<Imagen>();
        }
    
        /**
         *
         * @param output: Lugar donde sera representada la salida de la carga de imagenes
         * @return retorna 1 si la carga fue bien y 0 si fue mal
         * @throws FileNotFoundException : excepcion por  no haber encontrado el fichero
         * @throws IOException: excepcion por no poder leer el fichero
         */
        public int cargarImagenes(JTextArea output) throws FileNotFoundException, IOException {
            ZipEntry entrada;
            int contador = 0;
            String archTemp = "temp.jpg";
            FileInputStream fis = new FileInputStream(ruta);
            ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis));
            BufferedOutputStream dest = null;
            byte[] data = new byte[9000];
    
            // Leemos secuencialmente el archivo zip
            while ((entrada = zis.getNextEntry()) != null) {
                File bufferTemporal = new File(archTemp);
                System.out.println("Archivo " + entrada.getName() + " cargado!");
                output.append("Archivo " + entrada.getName() + " cargado!\n");
                if (!entrada.isDirectory()) {
                    FileOutputStream fos = new FileOutputStream(bufferTemporal);
                    dest = new BufferedOutputStream(fos, 9000);
    
                    while ((contador = zis.read(data, 0, 9000)) != -1) {
                        dest.write(data, 0, contador);
                    }
                       //Cerramos los buffers
                    dest.flush();
                    dest.close();
                    fos.flush();
                    fos.close();
    
                    FileInputStream fin = new FileInputStream(bufferTemporal);
                    BufferedImage bi = ImageIO.read(fin);
                    //Guardamos el fichero
                    imagenes.add(new Imagen(bi, entrada.getName()));
                }
               bufferTemporal.delete();
            }
     
            // Cerramos los bufferes
    
            fis.close();
            zis.close();
    
           
    
            saveAsGzip("dato.gz");
            loadAsGzip("dato.gz");
            return 1;
        }
        /**
         * Funcion que carga la simagenes de dentro del .zip y las guarda en el objeto Imagen
         * @return retorna 1 si la carga fue exitosa
         * @throws FileNotFoundException: Excepcion por no encontrar el archivo
         * @throws IOException: Excepcion por no poder leer el archivo
         */
        public int cargarImagenes() throws FileNotFoundException, IOException {
            ZipEntry entrada;
            int contador = 0;
            String archTemp = "temp.jpg";
            FileInputStream fis = new FileInputStream(ruta);
            ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis));
            BufferedOutputStream dest = null;
            byte[] data = new byte[9000];
    
            // Leemos secuencialmente el archivo zip
            while ((entrada = zis.getNextEntry()) != null) {
                File bufferTemporal = new File(archTemp);
                System.out.println("Archivo " + entrada.getName() + " cargado!");
    
                if (!entrada.isDirectory()) {
                    FileOutputStream fos = new FileOutputStream(bufferTemporal);
                    dest = new BufferedOutputStream(fos, 9000);
    
                    while ((contador = zis.read(data, 0, 9000)) != -1) {
                        dest.write(data, 0, contador);
                    }
    
                    dest.flush();
                    dest.close();
                    fos.flush();
                    fos.close();
                    java.io.FileInputStream fin = new FileInputStream(bufferTemporal);
                    BufferedImage bi = ImageIO.read(fin);
    
                    imagenes.add(new Imagen(bi, entrada.getName()));
                }
               
            }
    
            // Cerramos los bufferes
            fis.close();
            zis.close();
    
            dest.flush();
            dest.close();
    
            
            return 1;
        }
        /**
         * Funcion que retorna el array de peliculas
         * @return retorna el array de peliculas
         */
        public Collection<Imagen> getImagenes() {
            return imagenes;
        }
        public int saveAsGzip(String pathFichero) throws FileNotFoundException, IOException{
    
            FileOutputStream fos = new FileOutputStream(new File(pathFichero));
         //GZIPOutputStream gzip = new GZIPOutputStream(fos);
            BufferedImage temp2;
            Imagen img;
    
            Iterator ite = imagenes.iterator();
            while(ite.hasNext()){
                img = (Imagen) ite.next();
                temp2=img.getBufferedImagen();
                
                boolean i= ImageIO.write(temp2, "JPEG", fos);
                System.out.println(i);
    
            }
            System.out.println();
    
            //gzip.finish();
            fos.flush();
             
            fos.close();
           
            //gzip.close();
    
            return 1;
        }
        public int loadAsGzip(String pathFichero) throws FileNotFoundException, IOException{
    
            imagenes.clear();
            
            FileInputStream fos = new FileInputStream(new File(pathFichero));
         //GZIPInputStream gzip = new GZIPInputStream(fos);
            BufferedImage img;
    
    
                for(int i=0;i<=100; i++){
                    
    
                 
                    img=ImageIO.read(fos);
    
                    
                    if (img != null){System.out.println(img);
                    imagenes.add(new Imagen(img, String.valueOf(i)));}
                       
                    
    
    
            
                }
    
    
    
    
           // gzip.close();
            fos.close();
    
            return 1;
        }
    }
    Published by: sabre150 on October 28, 2010 01:43

    Moderator action: added
     tags to source.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    805814 wrote:
    Oh, sorry again, Ii have commented on all of the code not clear in my best English and posted the image of class:

    (sigh) OK, it's an improvement, but it is not yet an NBS! I think it would take me less time to write code that is a NBS that try to explain more (perhaps an example is better here?). In all cases, your code still seems to be mixing the two Zip and GZip. I've never dealt with GZip and could not be disturbed from now just for this problem, so I focused on using the Zip classes.

    Try this code:

    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import javax.imageio.*;
    import java.util.*;
    import java.util.zip.*;
    import java.io.*;
    
    /** SSCCE that demonstrates how to:
    1) Create some random images.
    2) Store them to a Zip File.
    3) Restore them from a Zip File
    Please study the code carefully, and note how in a single Java source of less
    than 100 lines of code, it manages to achieve the entire demo.!
    @author Andrew Thompson */
    class StoreImagesAsZip {
    
        static Random random;
        static int size = 60;
    
        public static BufferedImage getRandomImage() {
            BufferedImage bi = new BufferedImage(size,size,BufferedImage.TYPE_INT_RGB);
    
            Graphics2D g = bi.createGraphics();
            GradientPaint gp = new GradientPaint(
                (float)random.nextInt(size),
                (float)random.nextInt(size),
                new Color(random.nextInt(255),random.nextInt(255),random.nextInt(255) ),
                (float)random.nextInt(size),
                (float)random.nextInt(size),
                new Color(random.nextInt(255),random.nextInt(255),random.nextInt(255) )
                );
            g.setPaint(gp);
            g.fillRect(0,0,size,size);
    
            return bi;
        }
    
        static public void writeImagesToZip(File file, BufferedImage[] images) throws Exception {
            OutputStream os = new FileOutputStream(file);
            ZipOutputStream zos = new ZipOutputStream(os);
            // Zip does nothing for otherwise compressed media formats such as JPEG and PNG
            zos.setLevel( ZipOutputStream.STORED );
    
            for (int ii=0; ii< images.length; ii++) {
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                ImageIO.write(images[ii], "png", baos);
    
                ZipEntry ze = new ZipEntry( ii + ".png" );
                zos.putNextEntry( ze );
                zos.write( baos.toByteArray() );
                zos.closeEntry();
            }
            zos.flush();
            zos.close();
        }
    
        static public BufferedImage[] readImagesFromZip(File file) throws Exception {
            ArrayList images = new ArrayList();
    
            ZipFile zipFile = new ZipFile(file);
            Enumeration en = zipFile.entries();
            while (en.hasMoreElements()) {
                ZipEntry ze = (ZipEntry)en.nextElement();
                InputStream is = zipFile.getInputStream(ze);
                BufferedImage bi = ImageIO.read(is);
                images.add(bi);
            }
    
            BufferedImage[] imageArray = new BufferedImage[images.size()];
            for (int ii=0; ii
    

    Also note that I now invested a lot of time trying to help you. If you like what I've done, the best way to show that is on the occasion of my responses as "Helpful" or "correct". If the problem is "answered", make sure that mark also.

  • Save and load curves

    I work with PS CS4 and can't figure out how to record and curves of load, which was in the curves dialog box.  The online Help menu indicates that I need to go to the «...» Option Save preset in the Panel menu. »

    For the life of me, I can't find an option "Save Preset" in the Panel menu.

    I hesitated to post this question, because the answer is bound to be easy stupifying, but I have been struggling with this for a while and just can not understand.

    Any help would be appreciated!

    Select the icon of curves (3rd from the top left side of the Panel settings) and use the Panel (top-right bar) menu to save and load. Your saved curves will also be second in the top of the list. Simply scroll to the top where the direction of the arrow and you will see.

  • Auto SMS sent from my iPhone 5 to this number SMS int ' l 447903553650 and loaded for free! No history of sms sent in my message box! How can I solve it?

    Auto SMS sent from my iPhone 5 to this number SMS int ' l 447903553650 and loaded for free! No history of sms sent in my message box! How can I solve it?

    Tap settings > Messages and then turn OFF send as SMS .

  • Satellite M40X-286: energy saving and the E - key utility does not work on Vista

    First of all, sorry for my bad English.

    I managed to install Windows Vista Ultimate 32-bit on my Satellite M40X-286. Everything works, except for the energy saving and the E - key utility. I tried the added value of packages of other TOSHIBA models, but they all give an error message during the installation. Is there a solution for this problem?

    Now I can't change the speed of the processor and the brightness of my screen, and I can't even adjust these settings in a power mode. The only way to change the brightness is manually using the FN + F6 and F7 keys.

    Kind regards
    Stijn.

    Please don t be crazy about me, but there is no problem at all. The situation is quite clear.

    First: tools and utilities are similar, but in most cases have to be adapted for each laptop model. It may happen that some tools work on the different model of laptop, but this does not mean that he has to work on each model.

    Second important fact is that Toshiba does not Satellite M40X support for Vista operating system and I guess you won't be able to use this tool. In my opinion, it is not so important, because all the energy-saving settings you can find in Vista power options.

    For utility E - key, I don't see a solution. If you use OS not supported, you must live with it.

  • Satellite A665-11Z - idle and load temperatures

    Guys pls. post your sleep (stand-by) and loading (games, multitasking, ect) in A665-11Z. While we could compare and know if he have overheating issues. Also, post you solutions to the problems of overheating and cooling method. Thank you

    Idle: 55-65 degrees celsius
    Load (game): 80-90 degrees celsius

    I have cooling pad and recently clean my radiator and fan...

    I wonder if this temperature is quite normal to same model (A665-11Z).

    > You also publish solutions to the problems of overheating and cooling method
    Always use the driver of Toshiba graphics card because it has a thermal protection.
    The pilot controls the GPU performance and slow performance if the level of the critical temperature is reached.
    The drivers of manufacturers of graphics card to origin don't support that and the use of this can lead to a higher temperature.

  • I want to buy a Apple Watch in the Canada and use it and load it in Ireland. Is this possible?

    I want to buy a Apple Watch in the Canada and use it and load it in Ireland. Is this possible?

    Hello

    If you buy a Apple Watch the Canada, it will be completely compatible with your iPhone in Ireland.

    There are no regional differences in the hardware specifications for the watch, which can be configured to use your preferred language and format of the region.

    The included USB adapter pins will be located at the Canada. However, for charging your watch via the food in Ireland, you can use the charge cable provided on the magnetic head with a real 5W Apple (iPhone) or 12W (iPad) USB power adapter. You can also buy an extra Apple USB power adapter for your watch the Apple Store online for the Ireland:

    http://www.Apple.com/IE/shop/product/MD812B/C/Apple-USB-power-adapter?FNODE=83

    Service of the material to the title of the one year limited warranty is also always available in Ireland.

  • Satellite L500-19 X starts and loads Win 7 always like the first time

    OK, so I bought a toshiba satellite L500 - 19 X to the United Kingdom in a store called carphone warehouse.
    It came with windows 7 pre-installed.
    I wanted the 32-bit version, so he ran faster, but he had installed 64, but came with a 32-bit restore disc.

    So I went ahead and restored, now, whenever my laptop starts up, it think it's the first time and load the toshiba implemented and stats to do things then restarts.
    He could do this all day until I hit escape and complete the configuration manually.

    No one knows how to stop this or I have to buy a full version of windows 7 and start again in this way?

    Please please answer now! Thanks in advance guys :)

    Thanks for this info!

  • help with photos, I took pictures with my camera and load them on my pc. ithen them engraved on a dvd .Although I can watch on my pc I can't watch on my dvd.

    I took pictures with my camera and load them on my pc. ithen them engraved on a dvd .Although I can watch on my pc I can't watch on my dvd.

    what I am doing wrong, and someone can help

    Two thoughts.

    1. not all readers of DVD load serious records

    2. don't you finalize the disc when you burned it?

  • Save and load the string table

    Hello

    is possible except an array of channel with multiple line of text file and load new file to table with the same size of array?

    Because when I use the code in the picture, initialized array is 3 x 3 but after save and load file is table 5 x 3.

    If is an option how to save this table in the file into 3 x 3 table and charge back of file as a 3 x 3 table?

    Thank your for any suggestion,.

    Petr

    Your code is loaded in 5 x 3 is because two of your cells have newline characters (\n). The reading of the worksheet VI use return or line break characters and your delimiter to figure out how to split the string into an array.

    A solution might be to replace all characters from end of line with something else, and then reinsert it after reading of the worksheet.

    It can do what you want, even if it's a bit bulky. It's a little confusing if you don't understand "------" string formatting, but it essntially replaces all '\r' and '\n' with '\\r' and '\\n', including the conversion of the worksheet does not read as an end of line character.

Maybe you are looking for